@import "reset.css";
@import "spacing.css";
@import "fonts.css";
@import "media.css";

:root {
	--primary: #d1923aff;
	--secondary: #f2c14e;
	--tertiary: #553739ff;
	--accent: #a06b9aff;
	--grey: #cccccc;
	--black: rgb(41, 40, 40);
}

*,
*::before,
*::after {
	box-sizing: border-box;
}

html,
body {
	overflow-x: hidden;
	width: 100%;
}

html,
body,
div {
	margin: 0;
	padding: 0;
}

.navigation-fixed-container {
	background-color: white;
	width: 100%;
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	z-index: 1000;
	border-bottom: 5px solid var(--primary);
}

b,
strong {
	font-weight: 800;
}

nav {
	display: grid;
	grid-template-columns: 1fr 3fr;
	padding: 1rem;
	align-items: center;
	max-width: 1500px;
	margin: 0 auto;
	width: 100%;
}

.social-list {
	display: flex;
	justify-content: center;

	& li {
		padding: 2rem;
	}
}

.social-link {
	font-size: 1.3rem;
	color: var(--primary);
}

.logo {
	width: 230px;
	height: auto;
}

.navigation {
	display: flex;
	font-size: 1.4rem;
	align-items: center;
	flex-wrap: wrap;
	cursor: pointer;
	font-family: "heading-bold", sans-serif;
	text-transform: uppercase;

	& a:hover {
		color: var(--tertiary);
	}

	& a.active {
		color: var(--tertiary);
	}

	& a {
		text-decoration: none;
		color: var(--primary);
	}

	& li {
		padding: 1rem;
	}
}

.menu-button {
	display: block;
}

.gold {
	color: var(--primary);
}

.navbar-item:hover {
	background-color: #553739;
	color: white;
}

button {
	cursor: pointer;
}

body {
	font-family: "copy";
}

h1 {
	font-size: 4rem;
	font-weight: 600;
	line-height: 1.2;
	color: var(--primary);
}

h1,
h2,
h3,
h4,
h5,
h6 {
	padding-bottom: 0.5rem;
}

.mt-2 {
	margin-top: 2rem;
}

h2 {
	font-size: 2.5rem;
	color: var(--tertiary);
	font-family: "heading-bold", arial, sans-serif;
	line-height: 1.3;
}

.slide-show {
	margin-top: 100px;
	height: 420px;
	width: 100%;
	background-color: #6b7280;
	border-bottom: 5px solid var(--primary);
	overflow: hidden; /* Added */
}

.slide-show-img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

p {
	font-size: 1.5rem;
	color: var(--black);
	font-family: "copy";
	line-height: 1.4;
	padding-bottom: 0.5rem;
}

h3 {
	font-size: 3rem;
	font-family: "heading-bold";
	color: var(--tertiary);
	line-height: 1.2;
}

h4 {
	font-family: "heading-condensed-semi-bold", sans-serif;
	color: var(--primary);
	font-size: 3rem;
	line-height: 1.2;
}

h5 {
	margin-top: 1.6rem;
	font-family: "heading-condensed-semi-bold", sans-serif;
	color: var(--primary);
	font-size: 2rem;
}

.double-image-grid {
	display: grid;
	grid-template-columns: 3fr 1fr;
	gap: 3rem;
}

.teaser-border {
	border: 6px solid var(--grey);
	max-width: 100%;
	height: auto;
}

& a:hover {
	text-decoration: none;
}

.top-main-container-view {
	margin-top: 160px;
}

.main-container {
	max-width: 1300px;
	margin-left: auto;
	margin-right: auto;
	padding: 0 1rem;
	width: 100%;
}

.double-image-grid-text-align {
	display: flex;
	justify-content: center;
	flex-direction: column;
}

.teaser-border-container {
	background-color: var(--primary);
	min-height: 50px;
	margin-left: 2rem;
	border-radius: 1rem;
	padding: 1rem 1.5rem;
	max-width: calc(100% - 2rem);
}

.simple-heading {
	font-family: "heading-condensed-semi-bold", sans-serif;
	font-size: 3rem;
	color: white;
}

.kontakt {
	font-size: 1.5rem;
	line-height: 1.5;
	color: var(--black);

	a {
		text-decoration: underline;
	}

	a:hover {
		text-decoration: none;
	}
}

.teaser-grid {
	display: grid;
	grid-template-columns: 1.5fr 1fr;
	gap: 3rem;
	margin-top: 3rem;
	max-width: 1300px;
	margin-left: auto;
	margin-right: auto;
	width: 100%;

	& img {
		width: 100%;
		height: auto;
		object-fit: contain;
		max-width: 100%;
	}
}

p {
	padding-bottom: 1rem;
}

.teaser-grid-next-container {
	display: flex;
	align-items: center;
}

.teaser-grid-next-container p {
	margin: 0 1rem;
}

.link-text {
	color: white;
	text-decoration: underline;

	& a:hover {
		text-decoration: none;
	}
}

.link-text-secondary {
	color: var(--primary);
}

.text-white {
	color: white;
}

.border-container {
	background-color: #f4f6f7;
	padding: 5rem 0;
	width: 100%;
}

.border-container-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 2rem;

	img {
		width: 90%;
		max-width: 100%;
		text-align: center;
		height: auto;
		object-fit: contain;
	}
}

.image-border {
	border-radius: 1rem;
}

.content-container {
	width: 100%;
	max-width: 100%;
}

.round-image {
	width: 100%;
	max-width: 400px;
}

.left-image-grid {
	display: grid;
	grid-template-columns: minmax(auto, 450px) 1fr;
	gap: 2rem;
	padding-bottom: 1rem;
	width: 100%;
}

.text-center {
	text-align: center;
}

footer {
	background-color: #553739ff;
	display: flex;
	justify-content: center;
	margin-top: 3rem;
	width: 100%;
}

.footer-container {
	width: 90%;
	max-width: 100%;
	display: flex;
	justify-content: space-between;
	gap: 2rem;
	color: white;
	font-size: 1.2rem;
	flex-wrap: wrap;
}

.contact-footer-flex {
	display: flex;

	& li {
		padding-right: 1.5rem;
	}
}

footer {
	a {
		text-decoration: none;
		color: white;
	}

	span {
		line-height: 1.4;
	}

	& a:hover {
		text-decoration: underline;
	}
}

.teaser-container {
	background-color: #d1923a;
	width: 100%;
}

.multi-column-container {
	max-width: 1300px;
	width: 100%;
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
	gap: 4rem;
	margin-left: auto;
	margin-right: auto;
	padding: 0 1rem;
}

.news-grid {
	display: grid;
	max-width: 1200px;
	width: 100%;
	grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
	gap: 3rem;
	margin-left: auto;
	margin-right: auto;
	padding: 0 1rem;
}

.news-grid div {
	text-align: center;
}

.news-grid div img {
	transition: all 0.3s ease-in-out;
	height: auto;
	border-radius: 2%;
	width: 90%;
	max-width: 100%;
	object-fit: cover;
	max-height: 380px;

	&:hover {
		border: 4px solid var(--mount);
		transform: scale(1.02);
	}
}

.news-grid div span {
	background-color: var(--primary);
	width: 40%;
	max-width: 100%;
	display: block;
	margin-left: auto;
	margin-right: auto;
	text-align: center;
	border-radius: 1rem;
	position: relative;
	bottom: 1.25rem;
	font-size: 1.6rem;
	color: white;
	padding: 0.5rem;

	&:hover {
		background-color: var(--tertiary);
		cursor: pointer;
		transition: 0.5s;
		text-decoration: underline;
	}
}

.news-grid div a {
	text-decoration: none;
}

.people-grid {
	margin-left: auto;
	margin-right: auto;
	display: grid;
	max-width: 1200px;
	width: 100%;
	grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
	gap: 3rem;
	padding: 10px 16px;

	& img {
		width: 100%;
		height: auto;
		object-fit: contain;
		border-radius: 10px;
		max-width: 100%;
	}
}

.people-grid div span {
	background-color: var(--primary);
	width: 80%;
	max-width: 100%;
	display: block;
	margin-left: auto;
	margin-right: auto;
	text-align: center;
	border-radius: 1rem;
	position: relative;
	bottom: 1.25rem;
	font-size: 1.6rem;
	color: white;
	padding: 0.5rem;
}

.teaser-container div img {
	border-radius: 1rem;
	object-fit: contain;
	max-width: 800px;
	width: 100%;
	height: auto;
}

.flow-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
	gap: 1.5rem;
	width: 100%;
}

.image-item {
	height: 250px;
	overflow: hidden;
	width: 300px;
	max-width: 100%;
}

.image-item img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.border-container-text {
	padding-top: 2rem;
}

/* MEDIA QUERIES */
@media screen and (max-width: 1000px) {
	.border-container-grid {
		gap: 1.25rem;
		padding: 2rem 0;
		grid-template-columns: 1fr;
	}

	.border-container-text {
		text-align: center;
		grid-row: 1 / 3;
	}

	.border-container-grid img {
		width: 80%;
	}

	.news-grid img {
		max-height: 80%;
	}

	h1 {
		font-size: 2.4rem;
		line-height: 1.2;
	}

	h2 {
		font-size: 2rem;
		line-height: 1.2;
	}

	h3 {
		font-size: 1.8rem;
		padding-bottom: 1rem;
	}

	.left-image-grid {
		grid-template-columns: 1fr;

		& img {
			justify-items: center;
		}
	}

	.double-image-grid {
		grid-template-columns: 1fr;
	}

	.teaser-border-container {
		padding-left: 1rem;
		margin-left: 1rem;
	}

	.teaser-grid {
		grid-template-columns: 1fr;
		padding-top: 1rem;
	}

	.border-container {
		padding: 1rem 0 2rem 0;
	}
}

.menu-button {
	display: none;
	justify-self: flex-end;
	font-size: 2rem;
	align-self: center;
	color: var(--primary);
	cursor: pointer;
}

@media screen and (max-width: 950px) {
	.navigation {
		display: none;
	}

	.menu-button {
		display: block;
	}

	.navigation.responsive {
		display: block;
	}

	.navigation.responsive {
		position: fixed;
		top: 7rem;
		left: 0;
		right: 0;
		justify-self: center;
		background-color: var(--tertiary);
		width: 100%;

		& li {
			padding: 1.2rem 0;
			text-align: center;
			width: auto;
		}

		& a:hover {
			color: var(--primary);
		}

		& a {
			color: white;
			padding: 0.2rem 0;
			display: block;
		}
	}

	.navigation a:not(:first-child) {
		display: none;
	}
}

@media screen and (max-width: 768px) {
	.logo {
		width: 200px;
	}

	.navigation-fixed-container {
		height: 90px;
	}

	footer {
		justify-content: flex-start;
		padding-left: 1rem;
		line-height: 1.5;
	}

	.multi-column-container {
		grid-template-columns: 1fr;
		padding: 0 0.5rem;
	}

	.teaser-container {
		width: 100%;
	}

	.footer-container {
		justify-content: flex-start;
		width: 100%;
		flex-direction: column;
	}

	.content-container {
		padding-top: 0;
	}

	.contact-footer-flex {
		justify-content: flex-start;
		width: 100%; /* Changed from 'auto' */
		flex-direction: column;
	}

	.slide-show {
		margin-top: 90px;
	}

	.news-grid,
	.people-grid {
		padding: 0 0.5rem; /* Added consistent padding */
	}

	.border-container-grid {
		grid-template-columns: 1fr;
	}

	.border-container-grid img {
		width: 80%;
		margin-bottom: 0;
	}

	.teaser-grid {
		grid-template-columns: 1fr;
		padding: 1rem 0.5rem 0; /* Adjusted */
	}
}
