@import url("reset.css");

/* open-sans-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: 'Open Sans';
	font-style: normal;
	font-weight: 300;
	src: url('../fonts/open-sans-v44-latin-300.woff2') format('woff2');
	/* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* open-sans-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: 'Open Sans';
	font-style: normal;
	font-weight: 400;
	src: url('../fonts/open-sans-v44-latin-regular.woff2') format('woff2');
	/* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* open-sans-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: 'Open Sans';
	font-style: italic;
	font-weight: 400;
	src: url('../fonts/open-sans-v44-latin-italic.woff2') format('woff2');
	/* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* open-sans-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: 'Open Sans';
	font-style: normal;
	font-weight: 700;
	src: url('../fonts/open-sans-v44-latin-700.woff2') format('woff2');
	/* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* open-sans-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: 'Open Sans';
	font-style: italic;
	font-weight: 700;
	src: url('../fonts/open-sans-v44-latin-700italic.woff2') format('woff2');
	/* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

html {
	scroll-behavior: smooth;
	overflow-x: hidden;
}

body {
	font-family: 'Open Sans', sans-serif;
	color: #4e4e4e;
	font-size: 16px;
	line-height: 24px;
	overflow-x: hidden;
}

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


nav {
	background: rgba(15, 15, 15, 0.7);
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 10px 5%;
	position: fixed;
	width: 100%;
	top: 0;
	z-index: 9;

}

header .close{
	position: fixed;
	right: 0;
	top: 0;
	background: #488297
}

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

nav ul {
	display: flex;
}

nav ul li a {
	text-decoration: none;
	text-transform: uppercase;
	color: #fff;
	padding-left: 30px;
}

.kontaktbuttons {
	position: fixed;
	top: 73px;
	right: 5%;
	z-index: 99;
}

.kontaktbuttons img {
	background: #7e3f70;
	width: 50px;
	height: 50px;
	padding: 10px;
	border-bottom-left-radius: 5px;
	border-bottom-right-radius: 5px;
}

section {
	padding: 150px 5%;
}

.dropdown {
	display: none;
}

h1,
h2 {
	font-size: 24px;
	line-height: 32px;
	padding-bottom: 10px;
}

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

.col {
	width: 50%;
}

header .single-item {
	margin-top: 73px;
}

header .slogan {
	background: url(../images/hintergrund-slogan.webp);
	width: 60%;
	padding: 300px 5% 200px 5%;
	line-height: 60px;
	color: #fff;
	font-size: 50px;
	background-repeat: no-repeat;
	background-position: right;
}

header .slide1 {
	background: url(../images/steuerberater-mit-mandantin.webp);
	background-size: cover;
	background-repeat: no-repeat;
	background-position: center top;
	object-fit: cover;
}

header .slide2 {
	background: url(../images/steuerberater-handschlag.webp);
	background-size: cover;
	background-repeat: no-repeat;
	background-position: center;
	object-fit: cover;
}

header .slide3 {
	background: url(../images/finanzen-bearbeiten.webp);
	background-size: cover;
	background-repeat: no-repeat;
	background-position: center;
	object-fit: cover;
}

#steuerberater {
	background: url(../images/bg-steuerberater.webp);
	background-repeat: no-repeat;
	background-position: top right;
}

#steuerberater p a {
	color: #6daec6;
	text-decoration: none
}

#steuerberater .box {
	background: #344376;
	padding: 30px 50px;
	border-radius: 30px;
	color: #fff;
}

.cookie-overlay-dsa {
	color: #1d1d1d !important
}

#steuerberater .box .flex {
	justify-content: space-between;
}

#steuerberater .box img {
	border-radius: 20px;
	width: 150px;
}

.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: 45vh;
	margin-left: 5%;
	z-index: 9999;
	width: 40%;
	margin-top: 20vh;
	display: block;
	margin-left: auto;
	margin-right: auto;
}

h3 {
	font-size: 20px;
	margin-bottom: 20px;
}

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

.modals span{
	color: #6daec6
}

.modals ul{
	margin-bottom: 20px;
}

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

.modaloverlay .close {
	background-color: #344376;
	color: white;
	font-size: 24px;
	padding: 8px 12px;
	position: fixed;
	right: 30%;
	text-align: center;
	text-decoration: none;
	top: 20vh;
	z-index: 1;
}

.button {
	background: #7e3f70;
	display: block;
	padding: 5px 10px;
	border-radius: 10px;
	margin-top: 20px;
	color: #fff;
	text-decoration: none;
	max-width: 150px;
	text-align: center;
}

.button-1 {
	background: #7e3f70;
	display: block;
	padding: 5px 10px;
	border-radius: 10px;
	margin-top: 20px;
	color: #fff;
	text-decoration: none;
	max-width: 250px;
	text-align: center;
}

.thin {
	font-weight: 300;
}

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

}

.pfeil {
	height: 50px;
	margin-left: 50px;
}

#leistungen {
	background: #344376;
	color: #fff;
	margin-top: -10px;
}

#leistungen ul {
	color: #6daec6;
	list-style: square;
	margin-left: 15px;
	margin-top: 10px;
	margin-bottom: 20px;
}

#leistungen ul li span {
	color: #fff;
}

.vektor {
	width: 100%;
	height: 60px;
	object-fit: cover;
	object-position: top center;
}

.accordion {
	color: #fff;
	border: none;
	border-bottom: 1px solid;
	border-color: #fff;
	background: transparent;
	cursor: pointer;
	padding: 10px 18px;
	width: 100%;
	text-align: left;
	outline: none;
	font-size: 16px;
	line-height: 24px;
	transition: 0.4s;
}

.active,
.accordion:hover {}

.accordion:after {
	content: '\002B';
	color: #fff;
	font-weight: bold;
	float: right;
	margin-left: 5px;
}

strong {
	font-weight: 700;
}

.active:after {
	content: "\2212";
}

.panel {
	padding: 0 18px;
	max-height: 0;
	overflow: hidden;
	transition: max-height 0.2s ease-out;
}

#leistungen .flex {
	align-items: flex-start !important;
}

#leistungen h2 {
	margin-bottom: 50px;
}

#parallax {
	padding: 300px 5%;
	text-align: center;
	color: #fff;
	font-size: 40px;
	line-height: 50px;
	background: url(../images/familienrecht.webp);
	background-attachment: fixed;
	background-size: cover;
}

.lp{
	width: 100%;
}

#leistungen a{
	color: #6daec6;
	text-decoration: none;
}

.formular {
	margin-top: 30px;
	width: 100%;
	height: 600px;
}

footer {
	background: #488297;
	padding: 100px 5%;
	margin-top: -10px;
	color: #fff;
}

footer a {
	color: #344376;
	text-decoration: none;
}

footer .flex {
	align-items: flex-start
}

.dse {
	position: fixed;
	bottom: 0;
	right: 0;
	background: #344376;
	padding: 5px;
	border-top-left-radius: 10px;
}

.dse a {
	color: #fff;
	padding: 0px 10px;
	font-size: 13px;
}

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

@media screen and (max-width: 1050px) {
	header .slogan {
		width: 80%;
		padding: 200px 5% 100px 8%;
		font-size: 30px;
		line-height: 40px;
	}

	.kontaktbuttons img {
		width: 35px;
		height: 35px;
		padding: 5px;
	}

	.modaloverlay .modals {
		width: 80%;
	}

	.flex {
		display: block;
	}

	.col {
		width: 100%;
		margin-top: 20px;
		margin-bottom: 20px;
	}

	section {
		padding: 100px 5%;
	}

	#steuerberater .box {
		margin-top: 80px;
	}

	#parallax {
		padding: 150px 5%;
	}
	
	.modaloverlay .close{
		right: 10%;
	}

	.logo {
		width: 200px;
	}

	.kontaktbuttons {
		top: 55px;
	}

	#steuerberater .box .flex {
		display: flex;
	}

	header .single-item {
		margin-top: 55px;
	}
	
	.lp{
		height: 250px;
		object-fit: cover;
		
	}
}

@media screen and (max-width: 800px) {
	.dropbtn {
		background-color: transparent;
		color: white;
		padding: 0px;
		font-size: 36px;
		border: none;
		cursor: pointer;
	}

	.dropdown {
		position: fixed;
		top: 0px;
		right: 5%;
		display: inline-block;
		z-index: 99999;
		margin-left: auto;
		margin-right: auto;
	}
	
	.modaloverlay .close{
		right: 5%;
		top: 10vh;
	}

	.dropdown-content {
		display: none;
		position: fixed;
		top: 0;
		left: 0;
		width: 100%;
		height: 100vh;
		text-align: center;
		padding-top: 15vh;
		background-color: rgba(47, 47, 47, 0.9);
		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;
	}

	nav ul {
		display: none
	}

}

@media screen and (max-width: 600px) {

	#steuerberater .box .flex {
		display: block;
	}
	

	header .slogan {
		width: 100%;
		padding: 150px 5%;
		text-align: center;
		background: rgba(52, 67, 118, 0.61);
	}

	#parallax {
		font-size: 28px;
		line-height: 36px;
	}

	body {
		font-size: 14px;
		line-height: 22px;

	}

	.modaloverlay .modals {
		height: 65vh;
		margin-left: 5%;
		width: 90%;
		margin-top: 10vh;
	}
}
