@charset "UTF-8";

/* ---------- Schriften ---------- */

@font-face {
	font-family: 'Titillium Web';
	font-style: normal;
	font-weight: 400;
	font-display: swap;
	src: url('../fonts/titillium-web-v15-latin-regular.woff2') format('woff2'),
		 url('../fonts/titillium-web-v15-latin-regular.woff') format('woff'),
		 url('../fonts/titillium-web-v15-latin-regular.ttf') format('truetype');
}

@font-face {
	font-family: 'Titillium Web';
	font-style: normal;
	font-weight: 600;
	font-display: swap;
	src: url('../fonts/TitilliumWeb-SemiBold.ttf') format('truetype');
}

/* ---------- Grundlagen ---------- */

*, ::after, ::before {
	box-sizing: border-box;
}

html {
	height: 100%;
	width: 100%;
	scroll-behavior: smooth;
}

body {
	height: 100%;
	width: 100%;
	background-color: #575757;
	font-family: 'Titillium Web', system-ui, sans-serif;
	font-size: 18px;
}

body, p, h1, h2, h3 {
	margin: 0;
	padding: 0;
}

p, h1, h2 {
	width: 100%;
}

h1, h2 {
	font-size: 1.9rem;
	font-weight: 600;
	line-height: 1;
}

h1 {
	margin-bottom: 10px;
	margin-top: -2px;
}

h2 {
	margin-bottom: 20px;
}

p {
	font-size: 1.25rem;
	letter-spacing: .02rem;
	line-height: 1.3;
	margin-bottom: 20px;
}

p:last-child {
	margin-bottom: 0;
}

p strong {
	display: inline-block;
	margin-bottom: 2px;
}

address {
	font-style: normal;
	line-height: 1.5;
}

/* ---------- Parallax-Sektionen ---------- */

.container {
	align-items: center;
	display: flex;
	flex-wrap: wrap;
	margin: 0;
	padding: 15px;
	position: relative;
	width: 100%;
}

.container--big {
	height: 100vh;
}

.container--full {
	height: 120vh;
	z-index: 1;
}

.container--bio {
	z-index: 1;
}

.container .content {
	background: rgba(0, 0, 0, .4);
	border-radius: 8px;
	color: #fff;
	margin: 0 auto;
	padding: 30px 35px;
	text-align: center;
}

.container .content a {
	color: #fff;
	font-weight: 600;
	text-decoration: none;
}

.parallax__container {
	clip: rect(0, auto, auto, 0);
	height: 100%;
	left: 0;
	overflow: hidden;
	position: absolute;
	top: 0;
	width: 100%;
	z-index: -100;
}

.parallax__container .parallax {
	background-position: center;
	background-repeat: no-repeat;
	background-size: cover;
	position: fixed;
	top: 0;
	transform: translate3d(0, 0, 0);
	transform-style: preserve-3d;
	width: 100%;
}

/* ---------- Scroll-Pfeil ---------- */

.arrow {
	animation: bounce 3s infinite;
	bottom: -4rem;
	left: calc(50% - 19px);
	position: absolute;
	transform: translateX(-50%);
	transition: opacity 250ms ease-in-out;
	width: 38px;
}

.arrow--hide {
	opacity: 0;
}

.arrow img {
	display: block;
	width: 100%;
}

@keyframes bounce {
	0%, 20%, 50%, 80%, 100% {
		transform: translateY(0);
	}
	40% {
		transform: translateY(-15px);
	}
	60% {
		transform: translateY(-5px);
	}
}

@media (prefers-reduced-motion: reduce) {
	html {
		scroll-behavior: auto;
	}
	.arrow {
		animation: none;
	}
}

/* ---------- Navigation ---------- */

#mbar {
	background: #333;
	color: #fff;
	padding: 10px 0;
	position: fixed;
	width: 100%;
	z-index: 100;
}

.containerMenu {
	display: flex;
	justify-content: space-between;
	align-items: center;
	max-width: 800px;
	margin: 0 auto;
	padding: 0 20px;
}

.logo h1 {
	margin-top: 5px;
}

.logo h1 a {
	color: white;
	text-decoration: none;
	margin-top: 0px;
	margin-left: 10px;
	padding-left: 10px;
	padding-right: 10px;
	transition: background 0.3s;
}

.logo h1 a:hover,
.logo h1 a:focus-visible {
	background: #575757;
	border-radius: 4px;
}

#biografie a {
	color: white;
	transition: background 0.3s;
}

#biografie a:hover,
#biografie a:focus-visible {
	background: #575757;
	border-radius: 4px;
}

nav {
	position: relative;
}

.menu-icon {
	display: none;
	flex-direction: column;
	cursor: pointer;
	z-index: 123;
}

.menu-icon .bar {
	width: 25px;
	height: 3px;
	background-color: #fff;
	margin: 4px 0;
}

nav ul {
	display: flex;
	list-style: none;
	padding: 0;
	margin: 0;
}

nav ul li {
	margin-left: 20px;
}

nav ul li a {
	color: #fff;
	text-decoration: none;
	padding: 5px 10px;
	transition: background 0.3s;
}

nav ul li a:hover,
nav ul li a:focus-visible {
	background: #575757;
	border-radius: 4px;
}

@media (max-width: 768px) {
	.menu-icon {
		display: flex;
	}

	nav ul {
		position: absolute;
		top: 60px;
		right: 0;
		background: #333;
		flex-direction: column;
		width: 200px;
		display: none;
	}

	nav ul.show {
		display: flex;
	}

	nav ul li {
		margin: 10px 0;
	}
}

/* ---------- Abschnitte Kontakt / Impressum ---------- */

.headerMail {
	background: #333;
	color: #fff;
	padding: 10px 10px 5px 10px;
	scroll-margin-top: 70px;
}

.headerMail .container {
	justify-content: center;
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 20px;
}

.headerMain {
	padding: 20px;
}

.contact-form {
	background-color: #333;
	color: white;
	padding: 20px;
	border-radius: 8px;
	max-width: 600px;
	margin: 20px auto;
	box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
	
}

.contact-form h2 {
	margin-top: 0;
}

.contact-form a {
	color: #1a4f8a;
	text-decoration: underline;
}

.form-group {
	margin-bottom: 15px;
}

.form-group label {
	display: block;
	margin-bottom: 5px;
}

.form-group input,
.form-group textarea {
	width: 100%;
	padding: 10px;
	border: 1px solid #ccc;
	border-radius: 4px;
	font-family: inherit;
	font-size: 1rem;
}

.form-group textarea {
	resize: vertical;
}

button {
	display: inline-block;
	padding: 10px 15px;
	color: #fff;
	background: #555;
	border: none;
	border-radius: 4px;
	cursor: pointer;
	font-family: inherit;
	font-size: 1.4em;
}

button:hover,
button:focus-visible {
	background: #777;
}

#biografie {
	background-color: #555;
	color: white;
	justify-content: center;
	max-width: 1200px;
	margin: 0 auto;
	padding: 50px 20px;
	hyphens: auto;
}

#socialmedia {
	position: fixed;
	top: 90px;
	right: 7px;
	z-index: 1000;
}

