@font-face {
  font-display: swap; 
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 300;
  src: url('../fonts/montserrat-v30-latin-300.woff2') format('woff2'); 
}
/* montserrat-700 - latin */
@font-face {
  font-display: swap; 
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 700;
  src: url('../fonts/montserrat-v30-latin-700.woff2') format('woff2'); 
}

* {
	box-sizing: border-box;
	--c-highlight: #517664;
	--c-highlight2: #123E74;
}

body {
	color: #1d1d1b;
	font-family: 'Montserrat',sans-serif;
	font-size: 1.3rem;
	font-weight: 300;
	line-height: 1.27;
	overflow-x: hidden;
	min-height: 100vh;
	background-color: #f3f3f3;
	background-attachment: fixed;
	display:  flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	margin: 0;
	padding: 1em 5em;
	/* background-image:url(../img/signet.svg); */
	/* background-size: contain; */
	/* background-repeat: no-repeat; */
	/* background-position: 25%  50%; */
	letter-spacing: 0.03em;
}

.impressum main{
	hyphens: auto;
}

body>div{
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	max-width: 90ch;
	width: 100%;
	gap: 2em;
}

html {
	overflow-x: hidden;
	margin: 0;
}

h1, h2, h3, h4, h5, h6 {
	font-family: 'Montserrat';
	margin-bottom: 0.66em;
	margin-top: 1em;
	font-weight: 700;
}

h1 {
	font-size: 2em; 
}
h2 {
	font-size: 1.83em;
}
h3 {
	font-size: 1.67em;
}
h4 {
	font-size: 1.5em; 
}
h5 {
	font-size: 1.33em; 
}
h6 {
	font-size: 1.17em;
}

.main .deko+h1{
	font-size: 1.14em;
	margin-bottom: 1.6em;
	text-transform: uppercase;
	margin-top: 0;
	margin-bottom: 1em;
}

img {max-width: 100%;}

a {
	color: var(--c-highlight);
	transition: all 0.3s ease;
	text-decoration: none;
}

a:hover {
	color: var(--c-highlight2);
}

p {
	margin: 0 0 1em 0;
}

b {
	font-weight: bold;
}

header {
	/* display: flex; */
	/* align-items: center; */
	/* margin: calc(1em + 2.2vw) 0; */
	/* justify-content: center; */
	align-self: flex-end;
	}

header>div {
	height: 2px;
	background-color: #00203e;
	flex-grow: 1;
}

.flexspacer {
	flex-grow: 1;
}

header>img {
	/* margin: 0 45px; */
	width: 360px;
	/* margin-bottom: -3.5em; */
	aspect-ratio: 997 / 265;
}

.main {
	display: grid;
	grid-template-columns: 2fr 1fr;
	/* width: 1360px; */
	max-width: 100%;
	gap: 4em;

	&>div:last-child img{
		aspect-ratio: 1; 
		width: 100%; 
	}
	
	@media(max-width:1199px){
		gap: 2em; 
	}
	@media(max-width:768px){
		grid-template-columns: 1fr;
		gap: 1em; 
	}
}

.main>div {
	background-size: cover;
	margin: 0 auto;
	display: flex;
	flex-direction: column;
	align-items: start;
	/* padding: 0 15px; */
	justify-content: center; 
}

.deko{
	width: 8em;
	margin-left: -4.5em;
	margin-top: -4.5em;
	margin-bottom: 1em;
	aspect-ratio: 569/637;
	
	@media(max-width:768px){
		grid-template-columns: 1fr;
		gap: 1em;
		margin-top: -1em;
		display: none;
	}
	@media(max-width:599px){
		margin-left: 0; 
	}
}

footer {
	/* font-size: 0.9em; */
	/* text-align: center; */
	/* padding: 40px 0; */
	max-width: 100%;
	margin-top: 0;
	border-top: 1px solid #659480;
	padding-top: 1.5em;
	/* margin-bottom: 8em; */
	font-size: 0.8em;
	width: 100%;
}

footer .footer-top {
	display: flex;
	flex-wrap: wrap;
	column-gap: 3em;
	row-gap:  1em;
	margin-bottom: 1em;
	/* border-bottom : 1px solid #fffa; */
	padding-bottom: 1em;
}
footer .footer-imp{

}

footer .footer-top>div {
	display: flex;
	align-items: flex-start;
	gap: 0.5em;
	flex-direction: column;
}

footer .footer-top>div>div {
	display: flex;
	align-items: center;
	gap: 0.33em;
}

footer img {height: 1em;}

footer a {
	text-decoration: none; 
}

@media (max-width: 1199px) {

	body {
		font-size: 1.2rem;
	}

}

@media (max-width: 991px) {


}

@media (max-width: 768px) {

	.main td {
		padding: 0.2em 0.75em 0;
	}

	header>img {
		margin-bottom: 0;
	}
	h1 {
		margin-bottom: 1em;
	}
	body{
		padding: 1em; 
	}
}

@media (max-width: 599px) {
}

@media (max-width: 479px) {
	header>img {
	}

	.main td {
		padding: 0.2em 0.25em 0;
	}

	.main td:nth-child(2) {
		width: 45%;
		flex-grow: 1;
		text-align: right;
	}
	.main td:nth-child(3) {
		flex-grow: 1;
		text-align: right;
	}

	.main tr {
		display: flex;
		flex-wrap: wrap;
		justify-content: space-between;
		margin-bottom: 0.25em;
	}
	.main tr:first-child {
		justify-content: center;
	}
	

	
}
