@import url('https://fonts.googleapis.com/css?family=Open+Sans');
@import url('https://fonts.googleapis.com/css?family=Open+Sans:700');

* {
margin:0;
padding:0;
box-sizing:border-box}

body {
font-family: 'Open Sans', sans-serif;
font-size: calc(12px + (16 - 12) * ((100vw - 320px) / (1600 - 320)));

}

section h2 {text-transform: uppercase;position:relative;}
section a {color:#999;text-decoration:underline;}
section a:hover {color:#666;}
/* header */

.pfeil {
  position:absolute;
left:65vw;
}

header {
  width:100%;
  position: fixed;
  top:0;
  z-index:1000;
padding-bottom:5%;
background:#fff;
}

header .logo {
position:absolute;
top:50px;
left:13.2vw;
font-family:sans-serif;
font-weight:600;
font-size:1.8em;
letter-spacing:0.1em;
text-transform: uppercase;
}

header ul {
  margin: 0;
  padding: 0 0 0 90px;
  list-style: none;
  overflow: hidden;}

header li a {
  display: block;
  padding: 20px 20px 0 0;
  border-right: 1px solid #f4f4f4;
  text-decoration: none;
  color:#666;
  text-transform: uppercase;
  font-size:1em;
  font-weight:500;
  letter-spacing:0.2em;
}

header li a:hover,
header .menu-btn:hover,.aktiv {
  color:#000;
}


h1 {font-size:calc(12px + (16 - 12) * ((100vw - 320px) / (1600 - 320)));
    padding-top:2.2vh;}
h2 {
  padding-bottom:2vh;margin-top:2vh;color:#000;}
h3 {font-size:calc(12px + (16 - 12) * ((100vw - 320px) / (1600 - 320)));
  padding-bottom:.4em;color:#999;}
h4 {font-size:calc(12px + (16 - 12) * ((100vw - 320px) / (1600 - 320)));
  padding:3vh 0 1vh 0;color:#666;}


footer {
  width:100%;
  padding: 30px 0 30px 13.2vw;


}

footer a {
margin:0 1vw 0 0;
font-size:1em;
font-weight:500;
letter-spacing:0.2em;

}

/* menu */

header .menu {
  clear: both;
  max-height: 0;
  transition: max-height .2s ease-out;

}

/* menu icon */

header .menu-icon {

  display: inline-block;
  float: right;
  padding: 28px 20px;
  position: relative;

}

header .menu-icon .navicon {
  background: #000;
  display: block;
  height: 3px;
  position: relative;
  transition: background 0.2s ease-out;
  width: 20px;
}

header .menu-icon .navicon:before,
header .menu-icon .navicon:after {
  background: #000;
  content: '';
  display: block;
  height:100%;
  position: absolute;
  transition: all 0.2s ease-out;
  width: 100%;
}

header .menu-icon .navicon:before {
  top: 6px;
}

header .menu-icon .navicon:after {
  top: -6px;
}

/* menu btn */

header .menu-btn {
  display: none;  /*damit wird die checkbox permanent ausgeblendet*/
}
header .menu-btn:checked ~ .menu {
  max-height: 340px;
  margin-top:19%;
}




header .menu-btn:checked ~ .menu-icon .navicon {
  background: transparent;
}

header .menu-btn:checked ~ .menu-icon .navicon:before {
  transform: rotate(-45deg);
}

header .menu-btn:checked ~ .menu-icon .navicon:after {
  transform: rotate(45deg);
}

header .menu-btn:checked ~ .menu-icon .navicon:before,
header .menu-btn:checked ~ .menu-icon .navicon:after {
  top:0px;
}


a {color: #000;text-decoration:none}

a.cards {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    flex-direction:column;
    max-height: 100vh;
  }
  .cards img {
    margin: 10px;
    border: 1px solid #000;
    box-shadow: 3px 3px 8px 0px rgba(0,0,0,0.3);
    min-width: 100%;;
    transition:.2s;
  }

.cards img:hover {
  opacity:.8;
}



main {width:76%;margin:10em auto 0 auto; }

section {width:73%;margin:10em auto 0 auto; }

section img {width:100%;}

main ul li,main ul li a {list-style-type:none;line-height:1.em;font-weight:bold;color:#333;}


main img {width:90%;margin-bottom:1%;
float left;
}



/* Breakpoints*/

@media (min-width:432px){


h2 {font-size:calc(16px + (26 - 16) * ((100vw - 320px) / (1600 - 320)));display:block;}

a.cards {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    flex-direction: row;
    max-height: 100vh;
  }
  .cards img {
    margin: 10px;
    border: 1px solid #000;
    box-shadow: 3px 3px 8px 0px rgba(0,0,0,0.3);
    max-width: 33vw;
    min-width:40%;
    transition:.2s;


  }

}



@media (min-width:1300px){



  header {
padding-right:10%;
  }


section img {width:50%;

}




a.cards {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    flex-direction: row;
    max-height: 100vh;
  }
  .cards img {
    margin: 10px;
    border: 1px solid #000;
    box-shadow: 3px 3px 8px 0px rgba(0,0,0,0.3);
    max-width: 23vw;
    min-width:30%;
    transition:.2s;


  }




header .logo {

  top:50px;

}

  header li {
    float: left;

  }
  header li a {
  padding-top:55px;
    width:auto;
    text-align:left;

  }
  header .menu {
    clear: none;
    float: right;
    margin-left:0em;
    padding-right:5%;
    max-height: none;

  }

  header .menu-icon {
    display: none;
  }

  h1 {font-size:calc(12px + (16 - 12) * ((100vw - 320px) / (1600 - 320)));}
  h2 {font-size:calc(12px + (16 - 12) * ((100vw - 320px) / (1600 - 320)));display:block;}
  h3 {font-size:calc(12px + (16 - 12) * ((100vw - 320px) / (1600 - 320)));}
main h2 {font-size:22px;display:block;}
main h4 {padding:2vh 0 0.6vh 0;}
}
