/* Custom CSS Merx Öfen 2024 */

/* INHALT */
  /* RESET */
  /* VARIABLE */
  /* TYPO */
  /* LINKS */
  /* LAYOUT */
  /* LIGHTBOX */
  /* FOOTER */

/* RESET BROWSER CSS xxxxxxxxxxxxxxxxxxxxxxxxx */
/* http://meyerweb.com/eric/tools/css/reset/ 
   v2.0 | 20110126
   License: none (public domain)
*/

html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed, 
figure, figcaption, footer, header, hgroup, 
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
	margin: 0;
	padding: 0;
	border: 0;
	font-size: 100%;
	font: inherit;
	vertical-align: baseline;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
	display: block;
}
body {
	line-height: 1;
}
ol, ul {
	list-style: none;
}
blockquote, q {
	quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
	content: '';
	content: none;
}
table {
	border-collapse: collapse;
	border-spacing: 0;
}

/* Variablen xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx */

/* Primärfarben aufrufen: color: var(--farbe1)  */
:root {
	--farbe1: rgb(55,55,59);
  --farbe2: rgb(88,88,92);
  --farbe3: rgb(125,125,129);
  --farbe4: rgb(222,222,227);
  --farbe5: rgb(250,250,255);
}

/* STANDARDS */
html, body {  scroll-behavior: smooth;}

* {  box-sizing: border-box;}  

h2, h3, p, ul, li {hyphens: auto;}


/* TYPOGRAFIE xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx */
html {  font-size: 62.5%;} /* RESET Font-size */

h1, h2, h3, p, ul, li, a {
  font-family: Ubuntu, Verdana, Geneva, Tahoma, sans-serif;
  font-weight: 400;
  font-size: 1.8rem;
  line-height: 1.5em;
  letter-spacing: 0.05em;
  color: var(--farbe5)
}

/* Headlines */
h1, h2, h3 {
  font-weight: 300; 
  letter-spacing: -0.01em;
  line-height: 1.2em;
}

h1 {font-size: 5rem}
h2 {font-size: 3rem}
h3 {font-size: 2.4rem}
.subline {font-size: 2rem}

h2, h3 {
  margin: 1em 0 0.5em 0
}

p {
  margin-bottom: 0.8em;
}

strong {
  font-weight: 700;
}

h2.topofbox {
  margin-top: 0;
}


/*  MEDIA HEADER  xxxxxxxxxxxxxxxxxxxxxxxxxxxxx */
@media screen and (max-width: 992px) {
  h1 {font-size: 3.0rem}
  h2 {font-size: 2.6rem}
  h3 {font-size: 2.2rem}
.subline {font-size: 2rem}  
}

@media screen and (max-width: 768px) {
  h1 {font-size: 2.63rem}
  h2 {font-size: 2.3rem}
  h3 {font-size: 2.0rem}
.subline {font-size: 1.8rem}  
} 


/* Sonderklassen Hilfsklassen */
.subline {
  font-weight: 300; 
  letter-spacing: 0em;
  line-height: 1.2em;
  margin-bottom: 1em;
}

.seit1949 {
  font-weight: 300;
  font-style: italic;  
  margin-bottom: 0.25em;
  }

  @media screen and (max-width: 768px) {
    .seit1949 {
      display: none
      }
  }

 .bolder {
  font-weight: 700;
 }

 /* Standard-Listen */
 .einruecken li {
  margin-left: 1em;
 }

 .einruecken li {
  text-indent: 0em;
  list-style: square;
  line-height: 125%;
  margin-bottom: 0.8em;
 }

 /* Lieferantenlogo */

 .lieferantenlogo  {
  padding-right: 23px; /* optischer Ausgleich */
 }

 .lieferantenlogo img {
  display: block;
  width: 70%;
  padding: 20px;
  background-color: white;
  margin: 20px auto 40px 0;
 }

 .lieferantenlogo img:nth-of-type(2) {
  padding: 60px 20px;
 }


  /* LINKS xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx */
  .wrapper a { 
    text-decoration: none;
    display: inline-block;
    position: relative;
    text-transform: uppercase;
  }  

  .wrapper a:hover { 
    color: var(--farbe1);
  }  
  
  .wrapper a:before { 
    content: " ";
    position: absolute;
    z-index: -9;
    bottom: 0em;
    left: 50%;
    width: 0%;
    height: 0px;
    background-color: var(--farbe5);
    transition: all 0.5s;
  }  
  
  .wrapper a:hover:before { 
    content: " ";
    bottom: 0.2em;
    left: 0%;
    width: 100%;
    height: 1.6em;
    background-color: var(--farbe5);
  } 
  
  a.linkpfeil {
    position: relative;
    padding: 0 1em 0 1.5em;
  }

  a.linkpfeil:after {
    content: "";
    position: absolute;
    width: 1em;
    height: 1em;
    left: 0;
    bottom: 0.2em;
    background-image: url(../img-diverse/linkpfeil-leicht-weiss.png);
    background-size: cover;
    background-color: transparent;
  }

  a.linkpfeil:hover:after {    
    width: 0.6em;
    height: 0.6em;
    bottom: 0.5em;    
    background-image: url(../img-diverse/linkpfeil-leicht.png);
  }


/* LAYOUT xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx */

body {
  background-color: var(--farbe1);
  
  background-size: cover;
  background-position: left center;
}

body {
  background-image: url(../img-diverse/hintergrund_fire-pxby-1842139.webp);  
}

/* LAYOUT ALLE  */
img, video {width: 100%; height: auto;}

header nav, 
header #menueliste, 
main, 
footer {
  max-width: 1400px;
  margin: auto;
}

header nav, main, footer {
  padding-left: 4%;
  padding-right: 4%;
}

/* HEADER LAYOUT UND NAV LAYOUT xxxxxxxxxxxx */
header {
  position: sticky;
  width: 100%;
  top: 0;
  left: 0;
  right: 0;
  height: 110px;
  max-height: 110px; 
  padding-top: 20px;
  z-index: 99;
  
  background-color: var(--farbe5); 
  color: var(--farbe1);
  transition: all 0.5s ease-in;
}

/* Animation Header  verkleinern */

header.small {
  height: 48px;
  padding-top: 5px;
}

header .logo img {
  height: 80px;
  transition: height 0.5s ease-in;
}

header.small .logo img {
  height: 25px;
}

header a {  
  color: var(--farbe1);
  font-size: 2.6rem;
}

/* Menubutton und Logo horizontal ausrichten */
header p {  
  margin-bottom: 0px;
}


/* Ende Header verkleinern */

header nav {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 10px;
}

header.small .menueliste nav {
  padding-top: 510px;
}



header .hauptmenue li {
  /* display: none; */
  /* padding: 0 5px; */
}





/*  MEDIA HEADER  xxxxxxxxxxxxxxxxxxxxxxxxxxxxx */
@media screen and (max-width: 768px) {
  header {    
    height: 90px;

  }  
  header .logo img {
    height: 50px;
  }
} 

@media screen and (max-width: 500px) { 
  header .logo img {
    height: 30px;
  }
  header p a {
    font-size: 1em;
  }
} 

@media screen and (max-width: 360px) { 
  header p a {
    font-size: 1.3em;
  }
} 



/* ANIMATION HEADER BEIM SCROLLEN */
.down .logo img {
  height: 10px;
}

/* NAVIGATION xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx */

/* ANIMATION Menü */

.menu-animation {
  /* Test animation */
}

#menueliste {
   display: block;
   overflow: hidden;
   height: 0px; 
   background-color: var(--farbe4);
   
}

body.menu-active #menueliste {
  /* height: 75vh;*/
  padding: 0 20px 20px 20px;
  animation: menue-open 0.7s ease-out;
  animation-fill-mode: forwards;
}

body.menu-closed #menueliste {
  animation: menue-close 0.3s ease-out;
  animation-fill-mode: forwards;
}



@keyframes menue-open {
  0% {height: 0vh;} 100% {height: 75vh;} }

  

  @keyframes menue-close {
    0% {height: 75vh;} 100% {height: 0vh;} }  


#menueliste nav{
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  justify-content: space-between;
  align-items: stretch;
  height: 75vh;  
}

#menueliste ul { 
  width: 48%;
}

#menueliste li a { 
  display: flex;
  align-items: center;
  font-size: 2rem;
  font-weight: 300;  
  margin: 1em 0;
  padding-left: 10px;
  color: var(--farbe5);
  background-color: var(--farbe2);
  height: 8vh;
}

#menueliste ul:last-of-type a { 
  background-color: var(--farbe3);
}

#menueliste ul li a:hover  { 
  background-color: var(--farbe1);  
}

#menueliste ul li a:focus  { 
  outline-offset: -5px;  
}


/*  MEDIA NAVIGATION  xxxxxxxxxxxxxxxxxxxxxxxxxxxxx */
@media screen and (max-width: 600px) {
  #menueliste li a {     
    font-size: 1.5rem;
    font-weight: 300;
    padding: 10px 5px;
    margin: 0.8em 0;
  }
} 


/* INHALT LAYOUT xxxxxxxxxxxx */

/* Titelleiste */
.titel {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin: 90px 0 50px 0;
}

.titel div {
  width: 80%;
}

/* Spalte links und Spalte rechts */
.reihe {
  display: flex;
  justify-content: space-between;
}

.spalte-li {
  width: 30%; /* background: green; */
  padding-bottom: 90px;
}

.spalte-re {
  width: 67%; 
  padding-top: 9px;
  padding-bottom: 50px;
}

.spalte-3er {
  display: flex;
  gap: 4%;
  width: 100%; 
  padding-bottom: 90px;
}

/* Seite Impressum Spaltenfarbe */
#impressum .spalte-3er div:nth-child(2){
  background-color: var(--farbe2);
  padding-left: 10px
}

#impressum .spalte-3er div:nth-child(3){
  background-color: var(--farbe3);
  padding-left: 10px
}

.spalte-3er > div {
  width: 33%; 
  padding-bottom: 90px;
}

/* IMPRESSUM SPALTENBREITE */
#impressum .spalte-3er > div {
  width: 38%;
}

#impressum .spalte-3er > div:first-of-type {
  width: 24%; 
}

/* Bilderblock */
.bilderblock {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: center;
  gap: 4.5%; 
  /* border: 1px solid red; */ 
}

.bilderblock  figure {  
  display: block;
  position: relative;
  aspect-ratio: 1 / 1;
  width: 30.3%;
  /* height: 100%; */ 
  margin-bottom: 4.5%;
}

.bilderblock  figure a { /* wg object-fit bei img */
  position: relative;
  width: 100%; 
  height: 100%;  
}

.bilderblock  img {
  width: 100%; 
  height: 100%;
  object-fit: cover;
  /* border: 3px solid rgb(30, 255, 0); */
}


/* Overlay alle Vorschaubilder */ 
.deaktiviert  figure:after {  
  content: "";
  position: absolute;
  top: 20%;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: var(--farbe4);
  mix-blend-mode: multiply;
}

figcaption {
  position: absolute; 
  display: block;
  bottom: 0em;
  left: 0;
  width: 60px;
  height: 36px;
  padding: 1px 0 3px 6px;
  font-size: 1.3rem;
  text-transform:none;
  color: var(--farbe5);
  background-color: var(--farbe1); 
  opacity: 0.8;
  }

  .linkblock figcaption {   
    left: 10%;
    bottom: 0em; /* wg. a:hover */
    width: 80%;
    min-height: 3em;
    height: auto;
    padding: 5px;
    opacity: 0.8;
    font-size: 0.8em;
    text-align: center; 
    line-height: 120%;
    }

/* ANIMATION BILDERBLOCK */
.animated-2  figure {
  animation: fade-me-up 1s 0.3s ease-out;
  animation-fill-mode: forwards;
  transform: translateY(1400px) scaleY(0);
  opacity: 0;
} 

.animated-2  figure:nth-of-type(1) {
  animation: fade-me-up 0.7s 0.2s ease-out;
  animation-fill-mode: forwards;
} 

.animated-2  figure:nth-of-type(2) {
  animation: fade-me-up 0.7s 0.5s ease-out;
  animation-fill-mode: forwards;
} 

.animated-2  figure:nth-of-type(3) {
  animation: fade-me-up 0.7s 0.7s ease-out;
  animation-fill-mode: forwards;
} 

.animated-2  figure:nth-of-type(4) {
  animation: fade-me-up 0.7s 0.9s ease-out;
  animation-fill-mode: forwards;
} 

.animated-2  figure:nth-of-type(5) {
  animation: fade-me-up 0.7s 1.1s ease-out;
  animation-fill-mode: forwards;
} 

.animated-2  figure:nth-of-type(6) {
  animation: fade-me-up 1s 1.3s ease-out;
  animation-fill-mode: forwards;
}

.animated-2  figure:nth-of-type(n+7) {
  animation: fade-me-up 1s 1.7s ease-out;
  animation-fill-mode: forwards;
}


@keyframes fade-me-up {
  0% { 
    transform: translateY(400px) scaleY(0);
    opacity: 0;
       }
  80% { 
    transform: translateY(0px) scaleY(1.2);
    opacity: 1;
      }       
  100% { 
    transform: translateY(0px) scaleY(1);
    opacity: 1;
      }
 }



/*  MEDIA INHALT  xxxxxxxxxxxxxxxxxxxxxxxxxxxxx */
  @media screen and (max-width: 992px) {
    .spalte-li {width: 48%;}
    .spalte-re {width: 48%;}
    .spalte-3er {flex-wrap: wrap;}
    .spalte-3er div {width: 48%;}
    #impressum .spalte-3er div {width: 48%;}
    #impressum .spalte-3er > div:first-of-type {width: 48%;}

    .bilderblock figure {      
      width: 45%;
      margin-bottom: 10%;
    }
  } 

  @media screen and (max-width: 680px) {
    .spalte-li {width: 96%;}
    .spalte-re {width: 96%;}
    .spalte-3er div {width: 96%;}
    #impressum .spalte-3er div {width: 96%};
    #impressum .spalte-3er > div:first-of-type {width: 96%;}
    

    .bilderblock figure {      
      width: 66%;
      margin: 0 auto 10% auto;
    }

    .reihe {      
      flex-direction: column; 
    }
  }  

/* ANPASSUNG E-Mail Verschlüsselung xxxxxxxxxxxxxxxxxxxxxxxxxx */
/* Feld für verschlüsselte Mail-Adresse xxxxxxxxxxxxxxxx */
form.emailform {
	background-color: transparent;
	border: none;
	outline: none;
    margin: 0px;
	padding: 0px;
    line-height: 1em;
	}

/* chrome input fehler hack            */
form.emailform div {
	margin: 0px;
	padding: 0px;
	}
	
input.mailfeld {
	display: block !important; /* für chrome */
	width: 100%;
  max-width: 14em;
    height: 1em;
    line-height: 1em;
	font-size: 1.8rem;
	margin: 0px;
	padding: 10px;
  font-family: Ubuntu, Verdana, Geneva, Tahoma, sans-serif;
	background-color: var(--farbe1);
  color: var(--farbe5);
	border: none;
	outline: none;
	}

  input.mailfeld:hover  {
    border-bottom: solid 2px white;    
    }

    input.mailfeld:focus {      
      outline:  solid 1px var(--farbe5);
      }    


/* ANPASSUNG LIGHTBOX xxxxxxxxxxxxxxxxxxxxxxxxxx */
.lightbox {
  font-family: Ubuntu, Arial, Helvetica, sans-serif;
  font-weight: 300;
  font-size: 2rem;
} 

/* Vor-Zurück-Pfeile immer sichtbar */
.lightbox a.lb-prev,
.lightbox a.lb-next {
    opacity: 0.33;
    width: 25%;
}

/* FOOTER   xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx */

footer {
  margin-top: 50px;
  margin-bottom: 100px;
}

footer, 
.footer-nav {
  display: flex;
  flex-direction: row; 
  flex-wrap: nowrap;
  justify-content: space-between;
  align-items: center;
}  

.footer-nav li a {
  display: inline-block; /* kleine Displays und ... */
  height: 2em; /* für hover */
  padding-left: 5px;
  
} 

footer p {
  margin-bottom: 0;
} 
footer p:last-of-type  {
  font-style: italic;
} 

/* FUSSZEILE   xxxxxxxxxxxxx */
.fusszeile {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  height: auto;
}

.fusszeile video:nth-of-type(2) {
  position: fixed;
  bottom: 0;
  right: 0;
}

.fusszeile video {
  mix-blend-mode: lighten;
}

/*  MEDIA Footer  xxxxxxxxxxxxxxxxxxxxxxxxxxxxx */
@media screen and (max-width: 1300px) {
  footer {    
    flex-direction: column;
    align-items: center;
  } 
} 

@media screen and (max-width: 700px) {
  .footer-nav {
    display: flex;
    flex-direction: row; 
    flex-wrap: wrap;
  } 

  .footer-nav a{
    padding-right: 6px;
    padding-bottom: 15px;
  }  

  .footer-nav span {
    display: none;
  }   
} 



/* FARBEN */

body {
  background-color: var(--farbe1);
  color: var(--farbe5);
}




/* FONTS LOKAL LADEN */
/* ubuntu-300 - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Ubuntu';
  font-style: normal;
  font-weight: 300;
  src: url('../fontslokal/ubuntu-v20-latin-300.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* ubuntu-300italic - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Ubuntu';
  font-style: italic;
  font-weight: 300;
  src: url('../fontslokal/ubuntu-v20-latin-300italic.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* ubuntu-regular - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Ubuntu';
  font-style: normal;
  font-weight: 400;
  src: url('../fontslokal/ubuntu-v20-latin-regular.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* ubuntu-700 - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Ubuntu';
  font-style: normal;
  font-weight: 700;
  src: url('../fontslokal/ubuntu-v20-latin-700.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}