 /* Stand: Responsives Layout - Ende */

@media screen {

  html {
    font-family: 'Open Sans', Arial, sans-serif;
    font-size: 100%; 
    overflow-y: scroll;

    box-sizing: border-box; 
  }

  *, 
  *:before, 
  *:after {
    box-sizing: inherit;
  }

  body { 
  font-size: 14px; 
  font-size: 0.875rem;   
    background: white;
    color: #333;
    min-width: 300px;   
    /* max-width: 480px; */
    margin: 0 auto; 
  }

  h2   { font-size: 24px; font-size: 1.5rem; }  
  h3   { font-size: 21px; font-size: 1.3125rem; }
  main { line-height: 1.7; } 

  /* padding für Layoutbereiche */ 
  .pageheader, 
  .navmain, 
  main, 
  aside,
  .pagefooter {
    padding: 1rem;
  }


  /* Kopf- und Fußbereich einfärben */ 
  .pageheader, 
  .pagefooter {
    background: #333;
    color: white; 
  } 

  /* Pageheader */ 
  .pageheader h1 {
    font-family: Dosis, 'Open Sans', sans-serif; 
    font-size: 32px; 
    font-size: 2rem;
    letter-spacing: 1px; 
    color: white;
    line-height: 1;
    padding: 0;
    margin: 0 0 0.25em 0;
  }
  .pageheader a, 
  .pagefooter a {
    color: white;
    text-decoration: none;
  }
  
  .oldpage {
   padding: 0.5em;
   background: #08c;
   color: white;    
   text-decoration: none;	
  }
  
  
  .pageheader p.slogan {
    padding: 0;
    margin: 0;
  }


  /* 
  In visuellen Layouts verstecken, aber Screenreader lesen das Element vor 
  github.com/h5bp/html5-boilerplate/issues/194#issuecomment-564745 
  */  
  .hideme {
    border: 0;
    clip: rect(0 0 0 0); 
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
  }

  /* 
  Micro-Clearfix-Hack 
  nicolasgallagher.com/micro-clearfix-hack/ 
  */ 
  .cf:before, .cf:after { content: " "; display: table; } 
  .cf:after, .clear { clear: both; } 

} /* Ende @media */ 


/* Layout für breitere Viewports */ 

@media screen and (min-width:768px) {

  html {
    background: #ddd url("bg-grau.png") repeat left top;
  }

  body {
    width: 90%;
    max-width: 960px;
    margin: 1em auto;
  }

  .pagefooter {
    clear: both;
  }

  
} /* Ende @media */

/* Hintergrund für sehr breite Viewports */ 
@media screen and (min-width:1140px) {

  html {
    min-height: 100%;
    background-size: cover;
    background-image: url("bigpicture.jpg");
    background-position: left bottom;
    background-repeat: repeat;
  }

} /* Ende @media */  