/* Google Fonts Lokal */

/* open-sans-regular - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Open Sans';
  font-style: normal;
  font-weight: 400;
  src: url('../fonts/open-sans-v44-latin-regular.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* hepta-slab-500 - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Hepta Slab';
  font-style: normal;
  font-weight: 500;
  src: url('../fonts/hepta-slab-v25-latin-500.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}


/* Grundlegendes Reset */
* {
	box-sizing: border-box;
	margin: 0;
	padding: 0;
}

html, body {
	height: 100%;
}

body {
	font-family: 'Open Sans', Arial, Helvetica, sans-serif;
	color: #4a4a4a;
	line-height: 1.6;
	background: #f9f1ee;
}

/* Logo oben links */
.logo {
	position: absolute;
	top: 2rem;
	left: 4rem;
	z-index: 10;
	display: block;
}

.logo img {
	display: block;
	height: 48px;
	width: auto;
}

/* Banner: Inhalt links, Bild rechts */
.banner {
	display: flex;
	flex-direction: row;
	align-items: stretch;
	min-height: 100vh;
}

.banner .content {
	flex: 1 1 50%;
	display: flex;
	flex-direction: column;
	justify-content: center;
	padding: 4rem;
	max-width: 50%;
}

.banner .content h1 {
	font-family: 'Hepta Slab', serif;
	font-weight: 500;
	font-size: 2.75rem;
	margin-bottom: 1rem;
	color: rgb(200, 115, 85);
}

.banner .content p {
	font-family: 'Open Sans', Arial, Helvetica, sans-serif;
	font-weight: 400;
	margin-bottom: 1rem;
	color: rgb(85, 74, 85);
}

.banner .content .intro {
	font-size: 1.5rem;
	margin-bottom: 1rem;
	color: rgb(85, 74, 85);
}

.banner .image {
	flex: 0 0 50%;
	width: 50%;
	position: relative;
	overflow: hidden;
}

.banner .image img {
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	object-fit: contain;
	object-position: center;
}

/* Footer */
.footer {
	background: #ffffff;
	padding: 1.5rem;
	text-align: center;
}

.footer .small {
	font-size: 0.8rem;
	color: #909090;
	margin: 0;
}

/* Responsiv: gestapelt auf kleinen Bildschirmen (Text oben, Bild darunter) */
@media (max-width: 768px) {
	.banner {
		flex-direction: column;
	}

	.banner .content,
	.banner .image {
		flex: 1 1 100%;
		max-width: 100%;
		width: 100%;
	}

	.banner .content {
		padding: 8rem 1.5rem 3rem 1.5rem;
		text-align: center;
		align-items: center;
	}

	.banner .image {
		height: 45vh;
	}
}
