:root {
	--alaun-color: #5e84b5;
	--header-height: 1rem;
	--header-bg-gradient: linear-gradient(90deg, #2A486A 0%, #486E9C 50.877192982456144%, #2A486A 100%);
	--footer-bg-gradient: linear-gradient(90deg, #2A486A 0%, #486E9C 47.368421052631575%, #2A486A 100%);
	--font-base: 1rem;
	--dark-color: #333;
	--light-color: #fff;
}

body {
	overflow-x: hidden;
	margin:0; 
	padding: 0;
	font-family: Arial, Helvetica, sans-serif; 
}

header {
	box-sizing: border-box;
	display:flex;
	justify-content:space-between;
	align-items:center;
	background: var(--header-bg-gradient);
	color:#fff;
	padding:0.5rem 1rem;
	position: sticky;
	top: 0;
	left: 0;
	right: 0;
	z-index: 1;
	box-shadow: 0px 1px 3px 0px #3333;
}
header img {
	margin-top: -1em;
	height: 5rem;
}
header nav ul {
	list-style:none;
	margin:0;
	padding:0;
	display:flex;
}
header nav a {
	color: inherit;
	text-decoration:none;
	font-size: 1.5rem;
	padding: 1rem;
}

body:has(.fullscreen:target) section:not(:target) {
	display: none;
}
body:has(.fullscreen:target) footer {
	box-shadow: 0px -1px 3px 0px #3333;
	position: sticky;
}
.fullscreen:target {
	display: block;
}
.fullscreen {
	display: none;
	min-height: 100vh;
}

section {
	font-size: 40px;
	padding: 2rem 300px;
	position: relative;
	min-height: 100vh;
	width: 100%;
	box-sizing: border-box;
	scroll-margin-top: 68px;
}
section ul {
	list-style-type: "- ";
}
section ol {
	padding: 0;
	padding: 0;
	list-style-position: inside;
}
section ol ul {
	padding: 0;
	padding: 0;
	list-style-position: inside;
}
section ol > li:has(h3)::marker {
	font-size: 1.17em;
	font-weight: bold;
}
section ol > li:has(h4)::marker {
	font-size: 1.0em;
	font-weight: bold;
}
section ol > li > h3,
section ol > li > h4 {
	display: inline;
}
section ol ol {
	list-style-type: lower-alpha;
}

footer {
	display:flex;
	justify-content:space-between;
	align-items:center;
	background: var(--footer-bg-gradient);
	color:#fff;
	padding:0.5rem 1rem;
	bottom: 0;
	overflow: hidden;
}
footer div {
	height: 5rem;
	line-height: 5rem;
	font-size: 1.5rem;
	white-space: nowrap;
	overflow: hidden;
}
footer ul {
	list-style:none;
	margin:0;
	padding:0;
	display:flex;
	gap:1rem;
}
footer a {
	color:#fff; 
	text-decoration:none;
	font-size: 1.5rem;
	padding: 0.5rem;
}

#intro {
	background-image: url(../img/iStock-614879610_1200.png);
	background-size: cover;
	color: white;
	font-size: 3vw;
}
#intro h1 {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -100%);
	text-shadow: 0 0 10px #fffa;
}
#intro h1 span {
	position: relative
}
#intro h1 picture {
	position: absolute;
}
#intro h1 img {
	width: 20vw;
	height: 20vw;
}

#team {
	color: var(--dark-color);
}
#team img {
	width: 100%;
}

#competence {
	background-image: url(../img/iStock-1944809320_1200.png);
	background-size: cover;
	background-color: #000a;
	background-blend-mode: hue;
	color: white;
	text-shadow: 1px 1px 1px var(--alaun-color);
}

#projects {
	background-image: url(../img/iStock-1688230378_1200.png);
	background-size: cover;
	background-color: #000a;
	background-blend-mode: hue;
	color: white;
	border-top: 1px solid;
	border-bottom: 1px solid;
	text-shadow: 1px 1px 1px var(--alaun-color);
}

#references {
	color: var(--dark-color);
}
#references picture {
	margin: auto;
}
#references img {
	width: 100%;
}
#references p+p {
	display: flex;
	text-align: center;
	padding: 0px 25%;
}

#contact {
	background-image: url(../img/iStock-937153776_1200.png);
	background-size: cover;
	color: white;
}
#contact p {
	text-align: center;
}
#contact h2 {
	padding: 0;
}
#contact h2+div {
	display: flex;
	gap: 10px;
	padding: 0;
}
#contact h2+div>div {
	width: 80%;
}
#contact picture {
	margin: auto;
}
#contact img {
	width: 40%;
	margin-top: -10%;
	margin-bottom: -8%;
}
#contact address {
	font-style: normal;
	width: 100%;
}

#impressum {
	color: var(--dark-color);
}
#impressum address {
	padding: 2rem 0;
}

#privacy-policy {
	color: var(--dark-color);
}

header:has(#close:focus-within) #overlay {
	width: 0px;
}
#burger:focus-within #overlay {
	width: 400px;
}
#burger {
	display:none;
	flex-direction:column;
	gap:4px;
	cursor:pointer;
}
#burger > span {
	width: 30px;
	height: 5px;
	background:#fff;
}

#overlay {
	transition: width 1s;
	position: fixed;
	top:0;
	right: 0;
	bottom: 0;
	overflow: hidden;
	width: 0px;
	cursor: default;
	background-color: white;
	color: #333;
	box-shadow: -1px 0px 3px 0px #3333;
	display: flex;
	padding: 2rem 0;
}

#close {
	color: #888;
	padding: 1rem;
	text-decoration:none;
	transition: transform .5s;
	display: inline-block;
	width: 30px;
	height: 30px;
}
#close>span {
	position: relative;
	width: 30px;
	height: 30px;
	display: inline-block;
}
#close>span>span {
	top: 1.5rem;
	right: 1.5rem;
	position: absolute;
	top: 50%;
	left: 0;
	width: 30px;
	height: 2px;
	background-color: var(--dark-color);
	display: inline-block;
 }
#close>span>span:first-child {
	transform: rotateZ(45deg);
}
#close>span>span:last-child {
	transform: rotateZ(-45deg);
}
#close>div:hover {
	transform: rotateZ(90deg);
}

#mobile {
	flex: 1;
}
#mobile ul {
	flex-direction: column;
}
#mobile li {
	padding: 1em 3rem;
}
#mobile a {
	padding: 0 0;
}
#mobile span {
	position: relative;
}
#mobile span:after {
	position: absolute;
	display: block;
	content: " ";
	height: 2px;
	width: 0px;
	background-color: var(--dark-color);
	transition: width .5s;
}
#mobile span:hover:after {
	width: 100%;
}

body:has(#team:target) #mobile a[href="#team"] span:after,
body:has(#competence:target) #mobile a[href="#competence"] span:after,
body:has(#projects:target) #mobile a[href="#projects"] span:after,
body:has(#references:target) #mobile a[href="#references"] span:after,
body:has(#contact:target) #mobile a[href="#contact"] span:after {
	width: 100% !important;
}

@media (max-width: 1500px) {
	section {
		padding: 2rem 60px;
	}
}

@media (max-width: 1200px) {
	section {
		font-size: 20px;
		padding: 2rem 30px;
	}
	#desktop {
		display:none;
	}
	#burger {
		display:flex;
	}
	#references p+p {
		padding: 0;
	}
}

@media (max-width: 768px) {
	section {
		min-height: 60vh;
	}
}

@media (max-width: 700px) {
	footer div,
	footer a {
		font-size: 1rem;
	}
}
