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



@font-face	{ font-family:"grot-r";
			  src: url("/schrift/grot-r.ttf") format('truetype');
			}

@font-face	{ font-family:"grot-m";
			  src: url("/schrift/grot-m.ttf") format('truetype');
			}

html {
	font-size: 100%;
	overflow-x: hidden;
}
a {
	color: inherit;
	text-decoration: none;
}
body {
	background: #fff;
	font-family: 'grot-r';
	overflow-x: hidden;
}
header {
    height: 500px;
    background-image: url(/img/bg.jpg);
    background-size: cover;
    background-position: center;
    margin-bottom: 80px;
    font-family: 'grot-m';
    overflow: hidden;
}


article {
    background: #fff;
    max-width: 1200px;
    margin: auto;
    width: 80%;
    height: 1%;
}

nav ul {
    line-height: 60px;
    text-align: center;
}

nav ul li {
    width: 20%;
    float: left;
}

nav {
    margin: auto;
    height: 60px;
    position: relative;
}

.menu {
    max-width: 600px;
    float: right;
    width: 600px;
    position: relative;
}

nav .menu-item a {
    height: 100%;
    display: block;
    position: relative;
}


ul.sub-menu.open {
    background: #fff;
    height: 500px;
    z-index: 3;
    position: absolute;
    width: 100%;
}

.inhalt {
    padding: 60px;
}

h2 {
    font-size: 40px;
    font-family: grot-m;
}
header .overlay {
    height: 100%;
    width: 100%;
    background: rgba(0, 0, 0, 0.49);
    position: relative;
}
.kopf {
	color: #E74C3C;
	font-size: 4rem;
    max-width: 1200px;
    margin: auto;
    text-align: left;
    padding-top: 4rem;
}
.overlay::after {
    content: '';
    position:absolute;
    bottom: 0;
    width: 100%;
    height: 60px;
    border-right: 80px solid transparent;
    border-bottom: 80px solid #ffffff;
    border-left: 100vw solid transparent;
}
p {
    line-height: 1.4em;
    font-size: 18px;
}
.kopf p {
    font-size: 2rem;
    max-width: 400px;
    margin-top: 30px;
}













.worte {
	display: inline;
	text-indent: 0px;
}
.worte-1 span{
	position: absolute;
	opacity: 0;
	color: #E74C3C;
	-webkit-animation: rotateWord 18s linear infinite 0s;
	-ms-animation: rotateWord 18s linear infinite 0s;
	animation: rotateWord 18s linear infinite 0s;
}
.worte-1 span:nth-child(2) { 
    -webkit-animation-delay: 3s; 
	-ms-animation-delay: 3s; 
	animation-delay: 3s; 
	color: #E74C3C;
}
.worte-1 span:nth-child(3) { 
    -webkit-animation-delay: 6s; 
	-ms-animation-delay: 6s; 
	animation-delay: 6s; 
	color: #E74C3C;	
}
.worte-1 span:nth-child(4) { 
    -webkit-animation-delay: 9s; 
	-ms-animation-delay: 9s; 
	animation-delay: 9s; 
	color: #E74C3C;
}
.worte-1 span:nth-child(5) { 
    -webkit-animation-delay: 12s; 
	-ms-animation-delay: 12s; 
	animation-delay: 12s; 
	color: #E74C3C;
}
.worte-1 span:nth-child(6) { 
    -webkit-animation-delay: 15s; 
	-ms-animation-delay: 15s; 
	animation-delay: 15s; 
	color: #E74C3C;
}
@-webkit-keyframes rotateWord {
    0% { opacity: 0; }
    2% { opacity: 0; -webkit-transform: translateY(-30px); }
	5% { opacity: 1; -webkit-transform: translateY(0px);}
    17% { opacity: 1; -webkit-transform: translateY(0px); }
	20% { opacity: 0; -webkit-transform: translateY(30px); }
	80% { opacity: 0; }
    100% { opacity: 0; }
}
@-ms-keyframes rotateWord {
    0% { opacity: 0; }
    2% { opacity: 0; -ms-transform: translateY(-30px); }
	5% { opacity: 1; -ms-transform: translateY(0px);}
    17% { opacity: 1; -ms-transform: translateY(0px); }
	20% { opacity: 0; -ms-transform: translateY(30px); }
	80% { opacity: 0; }
    100% { opacity: 0; }
}
@keyframes rotateWord {
    0% { opacity: 0; }
    2% { opacity: 0; -webkit-transform: translateY(-30px); transform: translateY(-30px); }
	5% { opacity: 1; -webkit-transform: translateY(0px); transform: translateY(0px);}
    17% { opacity: 1; -webkit-transform: translateY(0px); transform: translateY(0px); }
	20% { opacity: 0; -webkit-transform: translateY(30px); transform: translateY(30px); }
	80% { opacity: 0; }
    100% { opacity: 0; }
}






li:hover > ul.sub-menu {
    transform: translateX(0);
    transition: .3s ease-in-out;
}

ul.sub-menu {
    transform: translateX(100%);
    position: absolute;
    background: #fff;
    height: 600px;
    width: 100%;
    z-index: 2;
    transition: .3s ease-in-out;
}
ul.sub-menu li {
    width: 100%;
    text-align: left;
    padding-left: 30px;

}


nav a.active::after {
    content: '';
    transform: translateY(0px);
    transition: .0s ease-in-out;
    border-bottom: solid 3px #E74C3C;
    position: absolute;
    bottom: 0px;
    width: 100%;
    left: 0;
        z-index: 1;
}
nav .menu-item a.erziehsungsberechtigter:hover::after {
	transform: translateY(0px);
	transition: .0s ease-in-out;
}
.leiste {
	position: relative;
}
.logo {
    background: #e74c3c;
    width: 150px;
    float: left;
    height: 100%;
    color: #fff;
    position: fixed;
    line-height: 60px;
    text-align: center;
    font-size: 30px;
    height: 60px;
    z-index: 2;
}
.logo #hamburger {
	display: none;
}
.logo.scroll #hamburger {
	display: block;
}

#hamburger {
    display: none;
    position: absolute;
    right: -60px;
    top: 0;
    background: #bb5b51;
    width: 60px;
    height: 60px;
    background-image: url(/symbole/menu.svg);
    background-size: 30px;
    background-repeat: no-repeat;
    background-position: center;
    cursor: pointer;
}

.menu.fixed {
    position: fixed;
    right: 0;
    background: #ffffff;
    width: 100%;
    box-shadow: 0px 0px 5px #2d2d2d;
    left: 210px;
    z-index: 2;
}
.menu.fixed ul.sub-menu {
    display: none;
}



.flex-container {
  padding: 0;
  margin: 0;
  list-style: none;
  
  
  display: -webkit-box;
  display: -moz-box;
  display: -ms-flexbox;
  display: -webkit-flex;
  display: flex;
  
  -webkit-flex-flow: row wrap;
  justify-content: space-around;
}

.flex-kachel {
  background: #f5f5f5;
  box-shadow: 0 1px 3px rgba(0,0,0,0.12), 0 1px 2px rgba(0,0,0,0.24);
  transition: all 0.3s cubic-bezier(.25,.8,.25,1);
  padding: 5px;
  width: 200px;
  height: 150px;
  margin-top: 20px;
  
  line-height: 100px;
  color: #333;
  font-weight: bold;
  font-size: 1em;
  text-align: center;
  cursor: pointer;
}
.flex-kachel:hover {
      box-shadow: 0 7px 18px rgba(0,0,0,0.25), 0 4px 4px rgba(0,0,0,0.22);
}
.symbol {
    width: 60px;
    height: 60px;
    margin: auto;
    margin-top: 20px;
}



section.leistung {
    max-width: 1200px;
    margin: auto;
    min-height: 500px;
    background: whitesmoke;
}

section .symbol {
    background: url(http://image.flaticon.com/icons/svg/181/181374.svg);
    height: 200px;
    width: 100%;
    background-size: 80px;
    background-repeat: no-repeat;
    background-position: center;
}



section h2 {
    text-align: center;
}








.eins .symbol {

    background: url(http://image.flaticon.com/icons/svg/181/181374.svg);
}
.zwei .symbol {

    background: url(http://image.flaticon.com/icons/svg/181/181356.svg);
}
.drei .symbol {

    background: url(http://image.flaticon.com/icons/svg/114/114905.svg);
}
.vier .symbol {

    background: url(http://image.flaticon.com/icons/svg/114/114780.svg);
}
.fuenf .symbol {

    background: url(http://image.flaticon.com/icons/svg/222/222073.svg);
}