.tabbed figure { 
   display: block; 
   margin-left: 0; 
   border-bottom: 1px solid silver;
   clear: both;
}

.tabbed > input,
.tabbed figure > div { display: none; }

.tabbed figure>div {
  padding: 20px;
  width: 100%;
  border: 1px solid silver;
  background: #fff;
  line-height: 1.5em;
  letter-spacing: 0.3px;
  color: #444;
}

#css:checked ~ figure .css,
#html:checked ~ figure .html,
#struktur:checked ~ figure .struktur { display: block; }

nav label {
   float: left;
   padding: 15px 15px;
   border-top: 1px solid silver;
   border-right: 1px solid silver;
   background: hsl(210,50%,50%);
   color: #eee;
}

nav label:nth-child(1) { border-left: 1px solid silver; }
nav label:hover { background: hsl(210,50%,40%); }
nav label:active { background: #ffffff; }

#css:checked ~ nav label[for="css"],
#html:checked ~ nav label[for="html"],
#struktur:checked ~ nav label[for="struktur"] {
  background: white;
  color: #111;
  position: relative;
  border-bottom: none;
}

#css:checked ~ nav label[for="css"]:after,
#html:checked ~ nav label[for="html"]:after,
#struktur:checked ~ nav label[for="struktur"]:after {
  content: "";
  display: block;
  position: absolute;
  height: 2px;
  width: 100%;
  background: white;
  left: 0;
  bottom: -1px;
}