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


@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);
}
html {
  font-size: 62.5%;
  height: 100%;
}
.mailto {
  color: black;
}
.mailto:hover {
  color: #FE7316
}

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;
}

/*content1 */ 

.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: 15%;
  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 {
  font-size: 16px;
  display: grid;
  grid-template-rows: 50% 50%; 
  grid-template-columns: 50% 50%;
  grid-column-gap: 30px;
  grid-row-gap: 5px;
  padding-top: 10px;
  padding-bottom: 10px;
  padding-left: 15%;
  padding-right: 15%;
  background-color: black;
  
  width: 100%;
  height: 70px;
  position: fixed;
  bottom: 0;
  overflow: hidden;
}

.cart-icon {
  position: absolute;
  top: 20px;
  right: 250px;
  font-size: 2.6rem;
  color: #fe7316;
  z-index: 200; /* etwas über Menü */
}
.cart-icon:hover {
  opacity: 0.8;
}

.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;
  gap: 25px;
  margin-top: 30%;
  padding-bottom: 70px;
  font-weight: 350;
  padding-left: 15%;
}
.menuopenmiddletext:hover {
  color: white;
  transition-duration: 100ms;
}



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-top: 90px;  
    display: flex;
    flex-direction: column;
    margin-bottom: min(5%, 40px);
}
.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: 0;
    left: 3px;
}



.c12 {
    font-size: 30px;
    color: gray;
    padding-top: 10px;
}

/* Content 2  Produktvergleich alias Grid*/


.c2 {
  margin-inline: 5%;
  margin-top: 5%;
  padding-top: 2%;
  margin-bottom: 5%;
  padding-bottom: 2%;
  height: auto;
  width: 90%;
  background-color: red;
  background: url(bilder/mtg_fr.png);
  background-repeat: no-repeat;
  background-size: contain; /* it is as tall and wide as the div */
  background-position: center center;
  min-height: 400px;

}



.aftergrid {
  margin-inline: 5%;
  margin-bottom: 5%;
}

/* 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;
}

/* Content 3 alias Anwendungen */

.c3 {
  margin-inline: 5%;
  background-color: transparent;
  margin-bottom: min(4%,40px);
}

.mi {
  color: black;
  font-size: 30px;
  transition: 500ms;
  background-color: transparent;
  margin-bottom: 10px;
  align-items: center;
}
.c31:hover .mi {
  color: #FE7316;

}
.c3aufzählung {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: space-evenly;
}
.c31 {
  display: flex;
  flex-direction: row;
  text-align: justify;
	text-align-last: none;

  opacity: 0;
  transform: translateY( 80px);
  position: relative;
  transition: transform 0.4s ease-out, opacity 0.4s ease-out;
}
#c32 {
  transition-delay: 0.1s;
}
#c33 {
  transition-delay: 0.2s;
}
#c33 {
  transition-delay: 0.3s;
}
#c34 {
  transition-delay: 0.4s;
}
#c35 {
  transition-delay: 0.5s;
}

.c31show {
  opacity: 1;
  transform: translateY(0);
}
.c3img {
  background-image: url("bilder/halle.jpeg"); 
  width: 100%;
  height: auto;
  background-repeat: no-repeat;
  background-size: contain; /* it is as tall and wide as the div */
  background-position: center center;
 
}
.c3heading {
  padding-top:  min(5%, 40px);
  padding-bottom: 10px;
}
.c3text {
  line-height: 1.4;
  text-align: justify;
	text-align-last: none;
}

.c3heading3 {
  font-size: 16px;
  background-color: transparent;
  margin-top: 7px;
}
.c3heading2 {
  font-weight: 400;
  font-size: 16px;
  text-align: center;
}

/*c4*/
.c4 {
  padding-inline: 5%;
  padding-bottom: min(5%, 40px);
  font-size: 16px;
  display: flex;
  flex-direction: row;
}

/*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;
}
.material-icons {
  width: 30px;
  height: 30px;
  filter:  invert(0%) opacity(100%);
}
.arrow-normal  {
  width: 18px;
  height: 13px;
  margin-top: 3px;
}

/*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;
}
 
.h3{
	  font-size: 16px;
} 

.h4{
	  font-size: 14px;
} 
   
.prodcont{
	padding-left: 5%;
	padding-right: 5%;

}   
.innertext{
	width: 70%;
}
.produkt {
    background: white;
	border: none;
	border-bottom: 1px solid black;
	padding: 1rem;
	gap: 2rem;
	font-size: 14px;
	line-height: 19px;
    display: flex;
	margin: 2rem 0 2rem 0; /* 2rem oben, 0 seitlich, 1rem unten */
}
.bild {
      width: 120px;
      height: 120px;
      background: #ddd;
      display: flex;
      align-items: center;
      justify-content: center;
      color: #666;
}
.infos {
      flex: 1;
}
/* alle Absätze in .infos etwas eng setzen */
.produkt .infos p {
  margin: 0.25rem 0;
}

/* aber direktes Geschwister‑Paar (Artikelnummer → Beschreibung) extra Abstands oben */
.produkt .infos p + p {
  margin-top: 1rem; /* hier kannst du den Wert anpassen */
}

.produkt .infos a {
  color: #000;
  text-decoration: none;
}
.produkt .infos a:hover {
  font-weight: bold;
}

.produkt .infos button {
    background-color: black;
    color: white;
    font-size: 16px;
    padding-top: 8px;
    padding-bottom: 10px;
    padding-inline: 30px;
    display: inline-flex;;
    flex-direction: row;
    align-items: center;
    gap: 10px;
    margin-top: 10px;
    margin-bottom: 10px;
    text-decoration: none;
    width: max-content;
	border-radius: 0px;
	border: none;
	cursor: pointer;
}
.produkt .infos button:hover {
  opacity: 0.8;
}

.produkt .infos .actions {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-top: 0.5rem; /* optional, um etwas Luft zu den oberen Elementen zu schaffen */
}

select, button {
      padding: 0.5rem;
      margin-top: 0.5rem;
}
.warenkorb-link {
      display: inline-block;
      margin-bottom: 1rem;
      background: #555;
      color: white;
      padding: 0.5rem 1rem;
      text-decoration: none;
      border-radius: 4px;
}
.slideshow-container {
	  width: 200px;
	  height: 200px;
	  overflow: hidden;
	  border: 0px;
	  background: white;
	  display: flex;
	  align-items: center;
	  justify-content: center;
	  margin-right: 1rem;
	  margin-bottom: 2rem;
}
.slideshow-container img.slide {
	  width: 100%;
	  height: 100%;
	  object-fit: contain;
}

/* Container‑Element, das per JS nach unten verschoben wird */
.c13 {
  position: relative;
  display: inline-block;    /* Damit es nur so breit ist wie sein Inhalt */
  cursor: pointer;
  vertical-align: middle;  /* sorgt dafür, dass es mit dem Button auf einer Höhe steht */
  width: 90px;             /* fixe Breite */
  transform: none;         /* entfernt das translateY, das es sonst nach unten schiebt */
}

/* Der eigentliche “Kasten” mit Schatten */
.c13shadow {
  
  display: none;            /* komplett verbergen */
  position: absolute;
  top: 100%;                /* direkt unterhalb von .c13 */
  left: 0;
  box-shadow: 0 0 5px rgba(0,0,0,0.4);
  background: white;        /* heller Hintergrund */
  border-radius: 4px;
  z-index: 99;
}

/* Inhalt des Dropdowns – standardmäßig ausgeblendet */
.c15 {
  width: 90px;
  padding-top: 0px;
  background: white;
  display: none;               /* versteckt */
  flex-direction: column;
}

/* wenn per JS angezeigt, einfach display ändern */
.c15show {
  display: flex;
}
.c14flex {
  padding: 8px 12px;
  background: white;
  border: 1px solid #ccc;
  border-radius: 0px;
  transition: background 200ms;
}
.c13:hover .c14flex,
.c13 .c15show ~ .c14flex {
  background: rgba(0,0,0,0.05);
}

/* Highlight auf Hover UND für die selektierte Option */
.c16:hover,
.c16.selected {
  background-color: rgba(0, 0, 0, 0.1);
  font-weight: bold;
}

/*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;
}
.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-family: 'Robotolight';
    font-weight: 100;
    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: transparent;
    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;
}

/*handy size*/

@media (max-width: 768px) {
	.slideshow-container {
		width: 100%;
		height: auto;
		margin: 0 auto 2rem auto;
		overflow: visible;
	}
	
	.slideshow-container img.slide {
		width: 100%;
		height: auto;
		object-fit: contain;
	}
	
	.produkt {
		flex-direction: column;
		align-items: center;
		display: flex;
		gap: 2rem;
	}
	
	.infos {
		width: 100%;
		text-align: center;
	}
	
	.innertext{
	width: 100%;
}
}

@media screen and (min-width: 901px) {
  .tabelle {
    width: 100%;
  }
  .beforegrid {
    width: 100%;
  }  
}


@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%;
  }
  .c21top {
    left: 24%;
  }

  #c5m4kontakt {
    display: flex;
    flex-direction: column;
    }
  #c5m4kontakt img {
    width: 50%;
    margin-left:25%;
  }
  .c5m4impressum table td {
    font-size: 14px;
  }
/*bottom*/
#c5m4kontakt {
  display: flex;
  flex-direction: column;
  }
#c5m4kontakt img {
  width: 50%;
  margin-left:25%;
}
.c5m4impressum table td {
  font-size: 14px;
}
}


