@import url("reset.css");

/* poppins-300 - latin */
@font-face {
	font-display: swap;
	/* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
	font-family: 'Poppins';
	font-style: normal;
	font-weight: 300;
	src: url('../fonts/poppins-v23-latin-300.woff2') format('woff2');
	/* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* poppins-300italic - latin */
@font-face {
	font-display: swap;
	/* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
	font-family: 'Poppins';
	font-style: italic;
	font-weight: 300;
	src: url('../fonts/poppins-v23-latin-300italic.woff2') format('woff2');
	/* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* poppins-regular - latin */
@font-face {
	font-display: swap;
	/* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
	font-family: 'Poppins';
	font-style: normal;
	font-weight: 400;
	src: url('../fonts/poppins-v23-latin-regular.woff2') format('woff2');
	/* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* poppins-italic - latin */
@font-face {
	font-display: swap;
	/* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
	font-family: 'Poppins';
	font-style: italic;
	font-weight: 400;
	src: url('../fonts/poppins-v23-latin-italic.woff2') format('woff2');
	/* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* poppins-700 - latin */
@font-face {
	font-display: swap;
	/* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
	font-family: 'Poppins';
	font-style: normal;
	font-weight: 700;
	src: url('../fonts/poppins-v23-latin-700.woff2') format('woff2');
	/* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* poppins-700italic - latin */
@font-face {
	font-display: swap;
	/* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
	font-family: 'Poppins';
	font-style: italic;
	font-weight: 700;
	src: url('../fonts/poppins-v23-latin-700italic.woff2') format('woff2');
	/* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

html {
	scroll-behavior: smooth;
}

a:hover{
	opacity: 0.7;
	transition: 0.3s;
}

body {
	font-family: 'Poppins';
	font-weight: 300;
	font-size: 15px;
	line-height: 25px;
	color: #6c6c6c
}

* {
	box-sizing: border-box;
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
}

header {
	background: url(../images/header-energieberatung.jpg);
	background-size: cover;
	background-position: left;
	background-repeat: no-repeat;
	height: 800px;
	object-position: center;
}

nav {
	background: #fff;
	position: fixed;
	width: 100%;
	z-index: 99;
}

.navi,
nav ul {
	display: flex;
	align-items: center;
	justify-content: space-between;

}

nav ul li a {
	padding-left: 30px;
	color: #6c6c6c;
	text-decoration: none;
}

.navi {
	padding: 5px 10%;
}

.logo img {
	height: 70px;
	margin-top: -30px;
}

.flex {
	display: flex;
	align-items: center;
	column-gap: 80px;
}

.puffer {
	width: 100%;
	height: 230px;
	margin-top: -190px;
	object-fit: cover;
	object-position: top;
}

.panel ul{
	margin-left: 15px;
	list-style: disc
}

.gruen {
	background: #91c158;
	text-align: right;
	padding: 5px 10%;
	font-size: 13px;
}

.gruen a {
	color: #fff;
	text-decoration: none;
	padding-left: 20px;
}

#ueber-mich {
    padding: 120px 10% 100px 10%;
    width: 100%;
    margin-top: -100px;
    max-width: 1100px;
    display: block;
    margin-right: auto;
    margin-left: auto;
    text-align: center;
}

h1,
h2 {
	font-size: 35px;
	line-height: 45px;
	font-weight: 700;
	padding-bottom: 20px;
}

h3 {
	font-size: 25px;
	line-height: 35px;
	font-weight: 700;
	padding-bottom: 20px;
}

h4{
	font-size: 20px;
	line-height: 30px;
	font-weight: 700;
	margin-top: 20px;
	padding-bottom: 20px;
}

span {
	color: #91c158
}

.button {
	background: #91c158;
	color: #fff;
	text-decoration: none;
	padding: 10px;
	border-radius: 10px;
	display: inline-block;
	margin-top: 20px;
	font-weight: 700;
}

#team {
	background: #eee;
	padding: 100px 10%;
}

#team .col,
#schimmel .col,
#kontakt .col,
#impressum .col {
	width: 50%;
}

#team img {
	border-radius: 20px;
	width: 100%;
	min-height: 300px;
	object-fit: cover;
}

#team ul {
	list-style: url(../images/check.png);
}

#team ul li {
	font-size: 16px;
	line-height: 26px;
	margin-top: 10px;
	padding-left: 10px;
}

#energiecheck {
	background: url(../images/parallax.jpg);
	background-size: cover;
	background-attachment: fixed;
	background-repeat: no-repeat;
	background-position: center;
	padding: 200px 10% 300px 10%;
	text-align: center;
	color: #fff;
}

#energiecheck h2 {
	font-size: 50px;
	line-height: 60px;
}

.dropdown{
	display: none;
}

#energiecheck .button {
	border: 2px solid;
	border-color: #fff;
	background: transparent;
}

#leistungen {
    padding: 130px 10% 100px 10%;
    text-align: center;
    margin-top: -100px;
}

#leistungen .box{
	background: #eee;
	padding: 20px;
	border-radius: 20px;
	width: 90%;
	margin-top: 50px;
	min-height: 680px;
}
#leistungen .box p{
	padding: 0px 20px 10px 20px;
}

#leistungen .box img{
	width: 100%;
	border-radius: 20px;
	height: 250px;
	object-fit: cover;
}

#leistungen .box .icon{
	width: 50px;
	height: 50px;
	display: block;
	margin-left: auto;
	margin-right: auto;
	margin-top: -25px;
	margin-bottom: 25px;
}

#schimmel {
	background: #eee;
	padding: 100px 10% 300px 10%;
}

.accordion {
	background-color: #91c158;
	border-radius: 10px;
	color: #fff;
	cursor: pointer;
	padding: 18px;
	width: 100%;
	margin-top: 10px;
	border: none;
	text-align: left;
	outline: none;
	font-family: 'Poppins';
	font-weight: 300;
	font-size: 15px;
	line-height: 25px;
	transition: 0.4s;
}

.active,
.accordion:hover {
	background-color: #7da84a;
}

.panel {
	padding: 0 18px;
	border-radius: 10px;
	background-color: white;
	max-height: 0;
	overflow: hidden;
	transition: max-height 0.2s ease-out;
}

#kontakt {
    padding: 100px 10%;
    margin-top: -100px;
}
#kontakt img {
	width: 100%;
	min-height: 450px;
	border-radius: 20px;
	object-fit: cover;
}

#kontakt .box {
	display: flex;
	margin-bottom: 10px;
	margin-top: 10px;
}

#kontakt .box img {
	width: 30px;
	height: 30px;
	margin-right: 10px;
	min-height: 30px;
}

#kontakt .box a {
	color: #91c158;
	text-decoration: none;
}

#impressum {
	padding: 100px 10%;
	background: #eee;
}

#impressum a {
	color: #7da84a;
	text-decoration: none;
}

.dse {
	background: #7da84a;
	width: 100%;
	position: fixed;
	bottom: 0;
	left: 0;
	padding: 5px 10%;
}

.dse a {
	color: #fff !important;
	text-decoration: none;
	padding-right: 10px;
	font-size: 13px;
}

.popup {
	color: #7da84a;
	padding: 5px;
	border: 2px solid;
	border-radius: 10px;
	text-decoration: none;
	display: inline-block;
	font-weight: 700;
	margin-top: 20px;
	margin-bottom: 50px;
}

.modaloverlay h3 {
	font-size: 30px !important;
	padding-bottom: 20px;
	text-align: left;
	text-transform: inherit;
}

.modaloverlay {
	background: rgba(0, 0, 0, 0.8);
	bottom: 0;
	left: 0;
	opacity: 0;
	pointer-events: none;
	position: fixed;
	right: 0;
	top: 0;
	text-align: left;
	z-index: 99999;
	display: none;
}

.modaloverlay:target {
	display: block;
	opacity: 1;
	pointer-events: auto;
	z-index: 9999;
}

.modaloverlay .modals {
	background-color: white;
	position: relative;
	padding: 3em;
	overflow-y: scroll;
	height: 65vh;
	margin-left: 5%;
	z-index: 9999;
	width: 50%;
	margin-top: 15vh;
	display: block;
	margin-left: auto;
	margin-right: auto;
}

.modals h3 {
	color: #7da84a;
	font-size: 40px;
}

.modals p {
	font-size: 16px;
	font-family: 'Roboto';
	line-height: 23px;
	color: #5f5f5f;
	text-align: left;
}

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

.modaloverlay .close {
	background-color: #000;
	color: white;
	font-size: 24px;
	padding: 8px 12px;
	position: absolute;
	right: 0;
	text-align: center;
	text-decoration: none;
	top: 0;
	z-index: 1;
}

.modaloverlay  ul{
	margin: 20px 0px 20px 15px;
	list-style: disc;
}

/*---------------------------------------
MEDIA Queries | Tablet | Phone
---------------------------------------*/

@media screen and (max-width: 980px) {
	.flex{
		display: block;
	}
	#team .col, #schimmel .col, #kontakt .col, #impressum .col {
    width: 100%;
}
	
#team img {
    max-width: 500px;
    margin-bottom: 30px;
	min-height: auto;
}
	#kontakt img {
    margin-bottom: 50px;
    max-width: 500px;
		min-height: auto;
}
	header{
		height: 550px;
	}
	#energiecheck{
		    padding: 100px 10% 200px 10%;
	}
}

@media screen and (max-width: 780px) {
	.puffer {
    height: 150px;
    margin-top: -100px;
}
	
	
	nav ul{
		display: none;
	}
		.dropbtn {
		background-color: #fff;
		color: #91c158;
		padding: 0px;
		font-size: 36px;
		border: none;
		cursor: pointer;
	}

	.dropdown {
		position: fixed;
		top: 40px;
		right: 10%;
		display: inline-block;
		z-index: 99999;
		margin-left: auto;
		margin-right: auto;
	}

	.dropdown-content {
		display: none;
		position: fixed;
		top: 0;
		left: 0;
		width: 100%;
		height: 100vh;
		text-align: center;
		padding-top: 15vh;
		background-color: rgba(125, 168, 74, 0.93);
		min-width: 160px;
		overflow: auto;
		box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2);
		z-index: 1;
	}

	.dropdown-content a {
		color: #fff;
		padding: 12px 16px;
		text-decoration: none;
		display: block;
	}

	.dropdown a:hover {
		background-color: rgba(0, 128, 0, 0.19);
	}

	.show {
		display: block;
	}
	.modaloverlay .modals {
    padding: 2em;
    height: 75vh;
    width: 80%;
    margin-top: 12vh;
}
	.modals h3 {
    color: #7da84a;
    font-size: 23px !important;
}
	.modals p {
    font-size: 14px;
    line-height: 24px;
}
	.modaloverlay ul {
    font-size: 13px;
}

}
@media screen and (max-width: 550px) {
	header{
		height: 350px;
	}
		h1, h2 {
    font-size: 25px;
    line-height: 35px;
}
	#energiecheck h2 {
    font-size: 30px;
    line-height: 40px;
}
	body{
		font-size: 13px;
		line-height: 23px;
	}
	.gruen {
    padding: 4px 10%;
    font-size: 11px;
}
	.dse a {
    padding-right: 10px;
    font-size: 11px;
}
	#team ul li {
    font-size: 14px;
    line-height: 20px;
    margin-left: 25px;
}
	h3 {
    font-size: 20px;
    line-height: 30px;
}
	.navi {
    padding: 5px 5%;
}
	    .gruen {
        padding: 4px 5%;
        font-size: 10px;
    }
	.logo img {
    height: 50px;
    margin-top: 0px;
}
	#schimmel h3{
		margin-top: 40px;
	}
}
