@import url('https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900');
@import url('https://fonts.googleapis.com/css2?family=Macondo&display=swap');

* {
	box-sizing: border-box;
	-moz-box-sizing: border-box;
	-webkit-box-sizing: border-box;
	font-weight: 300;
}

blockquote, input, textarea, button, figure, select, ul, ol, li, h1, h2, h3, a, p, q {
	font-family: inherit;
	font-weight: inherit;
	background-color: transparent;
	color: inherit;
	margin: 0;
	outline: none;
	padding: 0;
	text-decoration: none;
}

:root {
	--color-brown: rgb(244, 242, 239);
	--font-family: 'Inter';
	--font-size: calc(1.1rem + 0.1vw);
	--line-height: calc( var(--font-size) * 1.5 );
	--font-size--quote: calc( var(--font-size) * 1.2 );
	--line-height--quote: calc( var(--font-size--quote) * 1.3 );
	--font-size--h1: calc( var(--font-size) * 2.15 );
	--font-size--h2: calc( var(--font-size) * 1.50 );
	--font-size--h3: calc( var(--font-size) * 1.2 );
	--font-size--footer: calc( var(--font-size) * 0.8 );
	--font-size--figcaption: calc( var(--font-size) * 0.7 );
	--max-content-width: max(900px, 55vw);

	--padding-layout-l: 50px;
	--padding-layout-r: 50px;
	--padding-layout-t: 50px;
	--padding-layout-b: 50px;
	--padding-section-t: 75px;
	--padding-section-b: 75px;
	--padding-content: 25px;
}

html, body {
	font-family: var(--font-family);
	font-size: var(--font-size);
	margin: 0;
	padding: 0;
	scroll-behavior: smooth;
	width: 100%;
}

body {
	display: flex;
	flex-direction: column;
	overflow-anchor: none;
	min-height: 100vh;
	height: 100%;
	align-items: flex-start;
}

a {
	cursor: pointer;
}

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

strong {
	font-weight: 700;
}

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

/* --- Navigation --- */

.menu-wrapper {
	background-color: rgba(255, 255, 255, 0.9);
	box-shadow: 0px 5px 20px 0px rgba(0, 0, 0, 0.5);
	position: fixed;
	top: 0;
	width: 100%;
	z-index: 10;
	transition: all 0.5s ease; /* Für den Übergang */
}

.menu-top {
	align-items: center;
	min-height: 100px;
	display: grid;	
	grid-template-columns: 180px 1fr;
	gap: calc(var(--padding-content)/2);
	padding-left: var(--padding-layout-l);
	padding-right: var(--padding-layout-r);
}

.menu-logo {
	position: relative;
	border-radius: 50%;
	top: -35px;
}

.menu-logo img {
	background-color: rgba(255, 255, 255, 0.98);
	border-radius: 50%;
	position: absolute;
	transform: rotate(-25deg);
	transition: all 0.5s ease;
	top: 0;
	width: clamp(75px, 10vw, 200px);
}

.menu-links {
	display: flex;
	justify-content: right;
}

.menu-links ul {
	display: flex;
	flex-direction: row;
	list-style: none;
	gap: 25px;
}

.menu-links li {
	cursor: pointer;
	font-weight: 300;
}

.menu-burger {
	cursor: pointer;
	display: none;
	width: 50px;
}

.menu-mobile {
	display: none;
	text-align: right;
	padding-bottom: var(--padding-layout-b);
	padding-right: var(--padding-layout-r);
}

.menu-mobile ul {
	display: flex;
	list-style: none;
	flex-direction: column;
	gap: 10px;
}

.menu-shrink {
	background-color: rgba(255, 255, 255, 0.98);
}

.menu-shrink .menu-logo img {
	width: 75px;
}

/* --- Content --- */

main {
	display: flex;
	flex-direction: column;
	flex-grow: 1;
	min-width: 100%;
}

header {
	display: flex;
	justify-content: center;
	align-items: center;
	flex-direction: column;
	position: relative;
	height: 100vh;
	z-index: -1;
	text-align: center;
	animation: fadeIn 1.5s ease-in-out;
	width: 100%;
	overflow: hidden;
}

header img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

main section {
	padding-left: var(--padding-layout-l);
	padding-right: var(--padding-layout-r);
	padding-bottom: var(--padding-section-b);
}

main:has(header) section {
	padding-top: var(--padding-section-t);
}

main:not(:has(header)) section {
	padding-top: calc( var(--padding-section-t) * 2.5);
}

section {
	display: flex;
	flex-direction: column;
	gap: var(--padding-content);
	margin: 0 auto;	
	max-width: var(--max-content-width);
	width: 100%;
}

@keyframes fadeIn {
	from { opacity: 0; }
	to { opacity: 1; }
}

/* --- Footer --- */

footer {
	background-color: #47464b;
	width: 100%;
}

.footer-inner {
	color: white;
	display: grid;
	grid-template-columns: 1fr 1fr;
	font-size: var(--font-size--footer);
	gap: var(--padding-content);
	margin: 0px auto;
	max-width: var(--max-content-width);
	padding-left: var(--padding-layout-l);
	padding-right: var(--padding-layout-r);
	padding-top: var(--padding-section-t);
	padding-bottom: var(--padding-section-b);
	width: 100%;
}

footer .kontakt { grid-area: kontakt; }
footer .anreise { grid-area: anreise; }
footer .telefondienst { grid-area: telefondienst; }
footer .legal { grid-area: legal; }

.footer-inner {
	grid-template-areas:
		"kontakt telefondienst"
		"anreise legal";
}

.footer-flex {
	display: flex;
	flex-direction: column;
	gap: var(--padding-content);
}

.footer-inner p {
	line-height: calc( var(--font-size) * 1.05 );
}

.footer-text-right {
	text-align: right;
}

/* --- News --- */

.news-wrapper {
	border-top: 2px solid var(--color-brown);
	border-bottom: 2px solid var(--color-brown);
	padding-bottom: var(--padding-content);
	margin-top: var(--padding-layout-t);
}

.news-inner {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: var(--padding-content);
	margin-top: var(--padding-content);
}

.news-container {
	display: flex;
	flex-direction: column;
	gap: 10px;
	border-radius: 3px;
	background-color: var(--color-brown);
	padding: 30px;
	transition: all ease-in 0.1s;
	height: 100%;
}

/* --- Responsive --- */

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

	:root {
		--padding-layout-t: 25px;
		--padding-layout-b: 25px;
	}

	.menu-links ul {
		display: none;
	}

	.menu-burger {
		display: flex;
		justify-content: right;
		width: 40px;
	}

	.news-wrapper {
		margin-top: 0;
	}

	.cms-quote {
		padding: 25px;
	}

	.cms-figure {
		width: 100%;
		margin-left: 0;
	}

	section > .cms-figure {
		width: 100%;
		margin-left: 0;
		padding: 0;
	}

}

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

	:root {
		--padding-layout-l: 15px;
		--padding-layout-r: 15px;
	}

	header {
		margin-top: 100px;
		height: fit-content;
	}

	.news-inner,
	.footer-inner {
		grid-template-columns: 1fr;
	}

	.footer-inner {
		grid-template-areas: "kontakt" "telefondienst" "anreise" "legal";
	}

	.footer-text-right {
		text-align: left;
	}

	.cms-h1 {
		margin-bottom: 0;
	}
	
	.cms-h2 {
		margin-bottom: 0;
	}

	.content li {
		margin-left: 25px;
	}

}
