:root {
  --gelb: #FFD400;
  --gruen: #00772E;
}

body {
	margin: 0;
	padding: 0;
}

header {
	position: relative;
	max-width: 1280px;
	margin: auto;
	overflow: hidden;
}

header:before {
	content: " ";
	z-index: -1;
	position: absolute;
	width: 200%;
	height: 100%;
	left: -50%;
	bottom: 66%;
	background-color: var(--gelb);
	transform: rotate(-6deg)
}

header #logo {
	position: relative;
	margin: auto;
	max-width: 800px;
}

header #logo img {
	width: 100%;
}

main, footer {
	max-width: 800px;
	position: relative;
	margin: auto;
	margin-bottom: 100px
}

main {
	padding-top: 100px;
}
section {
	margin-bottom: 50px;
	position: relative;
	max-width: 800px;
	margin: 0 auto 100px auto;
}

#features {
	text-align: right;
	padding-right: 15%;
}

#features ul {
	margin: 0;
	padding: 0;
	margin-bottom: -50px;
}
#features ul li {
	list-style-type: none;
}

#autobild img {
	width: 100%;
}


/* .telefonnummer {
	font-size: 200%;
}

.telefonnummer  span {
	margin-right: 5px;
} */

#programm {
	text-align: center;
}
#programm img {
	max-width: 80%;
}

#programm a {
	text-decoration: none;
	color: var(--gruen);
}

#kontakt {
	max-width: 800px;
	position: relative;
	margin: auto;
	padding: 5%;
}

footer {
	position: relative;
	max-width: 1280px;
	margin: auto;
	overflow: hidden;
}

footer:before {
	content: " ";
	z-index: -1;
	position: absolute;
	width: 200%;
	height: 100%;
	left: -50%;
	top: 50%;
	background-color: var(--gelb);
	transform: rotate(-6deg)
}



#contact_phone img {
	width: 100%;
}



#legal_nav {
	text-align: center;
	background-color: var(--gelb);
	padding-bottom: 50px;
	max-width: 1280px;
	position: relative;
	margin: auto;
}

#legal_nav a {
	margin: auto 15px;
	text-decoration: none;
	color: black;
}

#logo:hover,
a:hover,
#programm:hover,
#contact_phone:hover {
	transform: scale(0.95);
}

#logo:active,
#legal_nav a:active,
#programm:active,
#contact_phone:active {
	transform: scale(0.90);
}

#logo,
#legal_nav a,
#programm,
#contact_phone {
	transition: ease-out 250ms all;
}

@font-face {
 font-family: 'Montserrat';
 font-style: normal;
 font-weight: 400;
 src: url(fonts/montserrat400.woff) format('woff');
}

body {
  font-family: "Montserrat", sans-serif;
  /* font-optical-sizing: auto; */
  font-weight: 400;
  font-style: normal;
  font-size: 24px;
}

 @media only screen and (max-width: 600px) {
  body {
	font-size: 12px;
  }
  
  main {
	  padding-top: 25px;
	  margin-bottom: 25px;
  }
  
  section {
  	margin: 0 auto 25px auto;
  }
  #features ul {
	  margin-bottom: 0;
  }
  
  footer:before {
	  top: 60%;
  }
  
  #legal_nav a {
	  display: block;
  }
}