* {
	box-sizing: border-box;
}

html, body, input, textarea, button, select, ul, ol, li, h1, h2, h3, a, p, hr {
	background-color: transparent;
	border: 0;
	color: inherit;
	list-style: none;
	margin: 0;
	outline: none;
	padding: 0;
	text-decoration: none;
}

:root {
	--font-family: 'Arial', sans-serif;
	--font-size: calc(1rem + 0.75vw);
	--font-size--h1: calc(2rem + 1vw);
	--lh-factor: 1.4;
	--padding-h: 25px;
	--padding-v: 75px;
	--gap-normal: 20px;
	--color-blue: #ce0a0f;
	--color-gold: #f2bb39;
	--max-content-width: 1000px;
}

body {
	font-family: var(--font-family);
	font-size: var(--font-size);
}

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

header {
	align-items: flex-start;
	background-image: url('/src/img/header.webp');
	background-attachment: fixed;
	background-position: center;
	background-repeat: no-repeat;
	background-size: cover;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	height: 100vh;
	width: 100%;
	padding: var(--padding-v);
}

.slogn {
	display: flex;
	justify-content: center;
	width: 100%;
}

.slogn img {
	max-width: 750px;
}

.fragezeichen {
	display: flex;
	overflow: hidden;
	width: 100%;
}

.fragezeichen img {
	position: absolute;
	left: 50%;
	bottom: -45px;
	width: 400px;
	max-width: 500px;
	transform: translate(-50%, 0%);
}

.text-center {
	text-align: center;
}

/* main */

p {
	text-align: left;
}

.bg-color-gold {
	background-color: var(--color-gold);
}

.bg-color-blue {
	background-color: var(--color-blue);
}

.bg-image-kloster {
	background-image: url('/src/img/brueckenhaus.webp');
	background-position: top center;
	background-repeat: no-repeat;
	background-size: cover;
	height: 60vw;
}

.color-white {
	color: white;
}

.color-blue {
	color: var(--color-blue);
}

.box-wrapper {
	width: 100%;
}

.box {
	display: flex;
	flex-direction: column;
	gap: var(--gap-normal);
	text-align: center;
	padding: var(--padding-v) var(--padding-h);
	line-height: calc( var(--font-size) * 1.5 );
	max-width: var(--max-content-width);
	margin: 0 auto;
}

h2 {
	font-weight: bolder;
}

.box-1 {
	color: var(--color-blue);
	font-weight: bolder;
}

.box-2 h2 {
	color: white;
}

.box-3 h2 {
	color: var(--color-gold);
}

.box-4 h2 {
	color: var(--color-gold);
}

.box-5 h2 {
	color: white;
}

.box-6 h2 {
	color: var(--color-gold);
}

.box-7 h2 {
	color: white;
}

.box-8 {
	color: white;
}

.box-8 h2 {
	color: var(--color-gold);
}

/* form */

form {
	display: flex;
	flex-direction: column;
	gap: calc( var(--gap-normal) / 2 );
	width: 80%;
	margin: 0 auto;
}

input,
textarea {
	background-color: white;
	border: 0;
	border-radius: 2px;
	padding: 10px 20px;
	color: var(--color-gold);
	font-family: var(--font-family);
	font-size: var(--font-size);
	width: 100%;
}

textarea {
	resize: vertical;
	min-height: 200px;
}

::placeholder {
	color: var(--color-gold);
	opacity: 0.9;
}

.grid-1-2 {
	display: grid;
	grid-template-columns: 1fr 2fr;
	gap: calc( var(--gap-normal) / 2 );
}

button {
	background-color: var(--color-blue);
	padding: 10px 20px;
	border: 2px;
	color: white;
	width: fit-content;
	font-family: var(--font-family);
	font-size: var(--font-size);
	cursor: pointer;
}

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

	header {
		background-image: url('/src/img/header.webp');
	}

	.bg-image-kloster {
		background-image: url('/src/img/brueckenhaus.webp');

		height: 100vw;
	}

	form {
		width: 100%;
	}

	.box {
		padding: calc(var(--padding-v) / 2) var(--padding-h);
	}

}

@media (pointer: coarse) {

	header,
	.bg-image-kloster {
		background-attachment: unset;
	}

}
