/* ANIMATONS */

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

@keyframes fadeInFromTop {
	from {
		opacity: 0;
		top: -30px;
	}
	to {
		opacity: 1;
		top: 0;
	}
}

@keyframes fadeInFromBottom {
	from {
		opacity: 0;
		bottom: -30px;
	}
	to {
		opacity: 1;
		bottom: 0;
	}
}

@keyframes fadeInFromLeft {
	from {
		opacity: 0;
		left: -30px;
	}
	to {
		opacity: 1;
		left: 0;
	}
}

@keyframes fadeInFromRight {
	from {
		opacity: 0;
		right: -30px;
	}
	to {
		opacity: 1;
		right: 0;
	}
}

@keyframes menuIconFadeIn {
	from {
		opacity: 0;
		bottom: 4vw;
	}
	to {
		opacity: 1;
		bottom: 5vw;
	}
}

@font-face {
    font-family: 'poppinslight';
    src: url('../fonts/poppins-light-webfont.woff2') format('woff2'),
         url('../fonts/poppins-light-webfont.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'poppinslight_italic';
    src: url('../fonts/poppins-lightitalic-webfont.woff2') format('woff2'),
         url('../fonts/poppins-lightitalic-webfont.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'poppinssemibold';
    src: url('../fonts/poppins-semibold-webfont.woff2') format('woff2'),
         url('../fonts/poppins-semibold-webfont.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'poppinssemibold_italic';
    src: url('../fonts/poppins-semibolditalic-webfont.woff2') format('woff2'),
         url('../fonts/poppins-semibolditalic-webfont.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}

/* http://meyerweb.com/eric/tools/css/reset/ v2.0 | 20110126 License: none (public domain) */
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed, 
figure, figcaption, footer, header, hgroup, 
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
	margin: 0;
	padding: 0;
	border: 0;
	font-size: 100%;
	font: inherit;
	vertical-align: baseline;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section, main {
	display: block;
}
ol, ul {
	list-style: none;
}
blockquote, q {
	quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
	content: '';
	content: none;
}
table {
	border-collapse: collapse;
	border-spacing: 0;
}

html {
	font-size: 90%;
	-webkit-text-size-adjust: 100%;
}

body {
	font-family: 'poppinslight';
	background-color: #fffef7;
	background: url(../img/pattern.jpg);
	background-repeat: repeat;
	background-attachment: fixed;
	color: #191919;
	text-align: left;
	font-size: 15px; 
	font-size: 1.5rem;
	line-height: 1.5;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}

h1 {
	font-size: 32px;
	font-size: 3.2rem;
	margin-top: 0;
	margin-bottom: 4rem;
	line-height: 1.2;
	color: #534744;
	text-transform: uppercase;
	letter-spacing: 0.65rem;
	text-align: center;
}
.page-template-page-projektseite h1 {
	margin-top: 5rem;
}
.page-template-page-projektseite h1 + p {
	max-width: 60rem;
	margin-left: auto;
	margin-right: auto;
}

h2 {
	font-size: 27px;
	font-size: 2.7rem;
	margin-top: 6rem;
	margin-bottom: 4rem;
	line-height: 1.2;
	color: #534744;
	text-transform: uppercase;
	letter-spacing: 0.4rem;
}
.wp-block-columns h2 {
	font-size: 2.1rem;
}

h3 {
	font-size: 18px;
	font-size: 1.8rem;
	margin-top: 4rem;
	margin-bottom: 3rem;
	line-height: 1.2;
	color: #534744;
	text-transform: uppercase;
	letter-spacing: 0.2rem;
}

h4 {
	font-size: 17px;
	font-size: 1.7rem;
	margin-top: 3rem;
	margin-bottom: 3rem;
	line-height: 1.2;
	color: #534744;
	text-transform: uppercase;
	letter-spacing: 0.5rem;
}

h2:first-child, h3:first-child, h4:first-child {
	margin-top: 0;
}

p, ul, ol {
	margin-bottom: 2rem;
}
p:last-child, ul:last-child, ol:last-child {
	margin-bottom: 0;
}

p + ul {
	margin-top: -1.5rem;
}

main ul {
	list-style: disc;
	padding-left: 2rem;
}
	main ul li {
		margin-bottom: 0.5rem;
	}

a {
	color: #c79b1f;
	text-decoration: none;
	-webkit-transition: all 300ms ease;
	-moz-transition: all 300ms ease;
	-ms-transition: all 300ms ease;
	-o-transition: all 300ms ease;
	transition: all 300ms ease;
}
p a:hover {
	opacity: 0.7;
}

.has-read-more a {
	display: inline-block;
	border-bottom: 7px solid;
	font-family: 'poppinssemibold';
	text-transform: uppercase;
	font-size: 1.4rem;
	margin-top: 1rem;
}

/* buttons */
.wp-block-buttons {
	margin: 3rem 0;
}
	.wp-block-button__link, .is-style-outline > .wp-block-button__link:not(.has-text-color) {
		background-color: #534744;
		color: #fffef7;
		font-family: 'poppinssemibold';
		text-transform: uppercase;
		font-size: 1.5rem;
		letter-spacing: 0.1rem;
		border: 2px solid #534744;
		-webkit-transition: all 300ms ease;
		-moz-transition: all 300ms ease;
		-ms-transition: all 300ms ease;
		-o-transition: all 300ms ease;
		transition: all 300ms ease;
	}
	.is-style-outline > .wp-block-button__link:not(.has-text-color) {
		background-color: transparent;
		color: #534744;
	}
	.wp-block-button__link:hover {
		opacity: 0.7;
	}

strong {
	font-family: 'poppinssemibold';
}
em {
	font-family: 'poppinslight_italic';
}
strong em {
	font-family: 'poppinssemibold_italic';
}

sup {
	font-size: 75%;
	line-height: 0;
	position: relative;
	top: -0.5em;
}

.wp-block-image img {
	height: auto;
}

/* double space */
.wp-block-columns.space-2 {
	margin-top: 12rem;
	margin-bottom: 12rem;
}

header {
	display: flex;
	flex-direction: column;
}
body.home header {
	height: 100vh;
	flex-direction: row;
}

	body.home #logo-wrapper {
		display: flex;
		justify-content: center;
		align-items: center;
		flex-grow: 1;
	}
	body.home #project-wrapper {
		display: flex;
		flex-direction: column;
		flex-basis: 32%;
	}
		body.home .project {
			display: flex;
			flex-basis: 100%;
			background-size: cover;
			background-repeat: no-repeat;
			background-position: center;
		}
			body.home .project a {
				display: flex;
				flex-basis: 100%;
				flex-direction: column;
				justify-content: flex-end;
				align-items: center;
				background-color: rgba(83, 71, 68, 0.3);
				padding: 6rem;
				text-align: center;
				opacity: 0;
				animation: fadeIn 0.3s ease-in forwards;
			}
			body.home .project a:hover {
				background-color: rgba(83, 71, 68, 0);
			}
				body.home .project a .project-title {
					display: block;
					color: #fffef7;
					font-family: 'poppinssemibold';
					text-transform: uppercase;
					letter-spacing: 0.2rem;
					font-size: 2.2rem;
					line-height: 1.2;
				}
				body.home .project a .go-to-project {
					display: block;
					color: #fffef7;
					text-transform: uppercase;
					letter-spacing: 0.2rem;
					font-size: 1.5rem;
					margin-top: 1.2rem;
				}

	#logo-wrapper {
		display: flex;
		justify-content: center;
		padding: 5rem;
		background-color: #000000;
	}
	.page-template-page-projektseite #logo-wrapper {
		background-color: transparent;
	}

		header #logo {
			display: block;
			width: 22rem;
		}
		body.home header #logo {
			display: block;
			width: 50%;
		}
			header #logo img {
				display: block;
				width: 100%;
				height: auto;
			}

	header #header-image {
		height: 45rem;
		position: relative;
		display: flex;
		justify-content: center;
		align-items: flex-end;
	}
		header #header-image img {
			width: 100%;
			height: 100%;
			object-fit: cover;
			position: absolute;
			top: 0;
			opacity: 0;
			animation: fadeIn 0.3s ease-in forwards;
		}
		/*header #header-image #title-wrapper {
			position: absolute;
			z-index: 2;
			top: 0;
			right: 0;
			bottom: 0;
			left: 0;
			display: flex;
			justify-content: center;
			align-items: flex-end;
			padding: 6rem;
			box-sizing: border-box;
			background-color: rgba(0, 0, 0, 1);
		}*/
	#title-wrapper {
		padding: 3rem;
		background-color: #000000;
	}
		#title-wrapper h1 {
			margin-top: 0;
			margin-bottom: 0;
			color: #fffef7;
			font-family: 'poppinssemibold';
			text-transform: uppercase;
			letter-spacing: 0.2rem;
			max-width: 80rem;
			margin-left: auto;
			margin-right: auto;
		}

	nav#main-menu {
		background-color: #534744;
		position: -webkit-sticky;
		position: sticky;
		top: 0;
		z-index: 9999;
	}
		nav#main-menu ul.menu {
			display: flex;
			justify-content: center;
			align-items: center;
		}
			nav#main-menu ul li {
				display: inline-block;
			}
				nav#main-menu ul li a {
					text-transform: uppercase;
					font-family: 'poppinssemibold';
					color: #fffef7;
					display: block;
					padding: 2rem;
					letter-spacing: 0.1rem;
				}
				nav#main-menu ul li a:hover {
					text-decoration: none;
					opacity: 0.7;
				}

main {
	margin: auto;
	padding: 12rem 10rem;
}
body.home main {
	padding-top: 0;
	padding-bottom: 0;
}
.page-template-page-projektseite main {
	padding-top: 0;
}

main, .wp-block-group.has-background .wp-block-group__inner-container {
	max-width: 86rem;
}

footer {
	padding: 10rem;
	position: relative;
	background-color: #000000;
	min-height: 25vw;
	text-align: center;
	display: flex;
	justify-content: center;
	align-items: flex-end;
}
	footer #footer-bg {
		position: absolute;
		z-index: 1;
		left: 0;
		top: 0;
		right: 0;
		bottom: 0;
		opacity: 0.3;
		background-image: url(../img/kunst-schriftzug.png);
		background-repeat: no-repeat;
		background-size: 104%;
		background-position: center;
	}
	footer .footer-menu {
		position: relative;
		z-index: 2;
	}
		footer .footer-menu a {
			display: inline-block;
			margin: 1.5rem;
			color: #746c69;
		}
		footer .footer-menu a:hover {
			color: #c79b1f;
		}
	footer #kbt-logo {
		position: absolute;
		z-index: 2;
		bottom: 10rem;
		right: 10rem;
		display: block;
		width: 22rem;
		height: auto;
	}

/* CUSTOM COLOR SETTINGS */
.has-gold-background-color {
	background-color: #c79b1f;
}
.has-braun-background-color {
	background-color: #534744;
}
.has-hellbraun-background-color {
	background-color: #867e7c;
}
.has-grau-background-color {
	background-color: #746c69;
}
.has-beige-background-color {
	background-color: #fffef7;
}

.has-gold-color *:not(a) {
	color: #c79b1f;
}
.has-inline-color.has-gold-color, .has-inline-color.has-gold-color * {
	color: #c79b1f !important;
}

.has-braun-color *:not(a) {
	color: #534744;
}
.has-inline-color.has-braun-color, .has-inline-color.has-braun-color * {
	color: #534744 !important;
}

.has-hellbraun-color *:not(a) {
	color: #867e7c;
}
.has-inline-color.has-hellbraun-color, .has-inline-color.has-hellbraun-color * {
	color: #867e7c !important;
}

.has-grau-color *:not(a) {
	color: #746c69;
}
.has-inline-color.has-grau-color, .has-inline-color.has-grau-color * {
	color: #746c69 !important;
}

.has-beige-color *:not(a) {
	color: #fffef7;
}
.has-inline-color.has-beige-color, .has-inline-color.has-beige-color * {
	color: #fffef7 !important;
}

/* expand main wrapper */
.alignwide {
	width: 100vw;
	max-width: 125rem;
	margin-left: calc(50% - 125rem / 2);
}

.alignfull {
	width: 100vw;
	max-width: 100vw;
	position: relative;
	left: 50%;
	right: 50%;
	margin-left: -50vw;
	margin-right: -50vw;
}

/* image alignment */
.wp-block-image {
	margin-top: 6rem;
	margin-bottom: 6rem;
}
.wp-block-column .wp-block-image {
	margin-top: 2rem;
	margin-bottom: 2rem;
}
	.wp-block-image .alignleft {
		float: left;
		margin: .3em 1em 1em 0;
		max-width: 330px;
	}
	.wp-block-image .alignright {
		float: right;
		margin: .3em 0 1em 1em;
		max-width: 330px;
	}

/* image with caption */
.wp-caption {
	width: 100%;
	margin-bottom: 3rem;
}
.wp-caption.alignleft {
	float: left;
	margin-right: 3rem;
}
.wp-caption.alignright {
	float: right;
	margin-left: 3rem;
}
	.wp-caption-text {
		font-size: 17px;
		font-size: 1.7rem;
		color: #8b8b8b;
		margin-top: 1rem;
	}

/* POST IMAGE */
.wp-post-image {
	display: block;
	width: 100%;
	height: auto;
}

/* horizontal line */
hr, .wp-block-separator {
	margin-top: 6rem;
	margin-bottom: 6rem;
	border: 1px solid rgba(83, 71, 68, 0.2);
}

/* table styles */
table {
	margin-bottom: 6rem;
}
	tr:nth-child(odd) {
		background: #f6f6f6;
	}
	tr:first-child {
		border-bottom: 3px solid #191919;
		background: #ffffff;
	}
		td {
			vertical-align: middle;
			padding: 10px;
		}

/* BLOCK COLUMN */
.wp-block-columns {
	margin-top: 6rem;
	margin-bottom: 6rem;
}
.wp-block-columns:last-child {
	margin-bottom: 0;
}
	.wp-block-column:not(:first-child) {
		margin-left: 4rem ;
	}

/* BLOCK GROUP */
.wp-block-group {
	margin-top: 12rem;
	margin-bottom: 12rem;
}
.wp-block-group:first-child {
	margin-top: 0;
}
.wp-block-group:last-child {
	margin-bottom: 0;
}
	.wp-block-group.has-background .wp-block-group__inner-container {
		margin: auto;
		padding: 12rem 10rem;
	}

.wp-block-group.karte {
	position: relative;
	padding: 1px 0 12rem 0;
}
main .wp-block-group.karte:last-child {
	margin-bottom: -12rem;
}
.wp-block-group.karte:before {
	content: '';
	position: absolute;
	background-image: url(../img/kunstgenuss-karte-weinbaugebiete.png);
	background-size: cover;
	background-repeat: no-repeat;
	background-position: center;
	opacity: 0.3;
	left: 0;
	top: 0;
	width: 100%;
	height: 100%;
	z-index: -1;
	mix-blend-mode: multiply;
}

/* THIS IS ONLY FOR DEVELOPING */
.hide-read-more-link p a {
	display: none;
}

/* BLOCK VIDEO */
.wp-block-video {
	-webkit-transition: all 300ms ease;
	-moz-transition: all 300ms ease;
	-ms-transition: all 300ms ease;
	-o-transition: all 300ms ease;
	transition: all 300ms ease;
}
.wp-block-video:hover {
	transform: scale(1.02);
}

/* TEMPLATE PROJEKTSEITE */
#menu-icon-holder {
	opacity: 0;
	position: fixed;
	z-index: 9999;
	right: 5vw;
	bottom: 0;
	width: 5rem;
	height: 5rem;
	border-radius: 9999px;
	background-color: #534744;
	cursor: pointer;
	display: flex;
	justify-content: center;
	align-items: center;
	-webkit-transition: all 300ms ease;
	-moz-transition: all 300ms ease;
	-ms-transition: all 300ms ease;
	-o-transition: all 300ms ease;
	transition: all 300ms ease;
	animation: menuIconFadeIn 0.3s ease-in forwards;
}
body.quick-nav-active #menu-icon-holder {
	right: calc(5vw + 250px);
}
#menu-icon-holder:hover {
	transform: scale(1.1);
}
	#menu-icon-holder .menu-icon {
		display: block;
		width: 45%;
		height: auto;
	}
	body.quick-nav-active #menu-icon-holder #menu-icon-open {
		display: none;
	}
	#menu-icon-holder #menu-icon-close {
		display: none;
		width: 33%;
	}
	body.quick-nav-active #menu-icon-holder #menu-icon-close {
		display: block;
	}
		#menu-icon-holder .menu-icon path {
			fill: #fffef7;
		}

#quick-nav {
	position: fixed;
	z-index: 9999;
	top: 0;
	right: -250px;
	width: 250px;
	height: 100%;
	box-sizing: border-box;
	padding: 3rem;
	background-color: #534744;
	-webkit-transition: all 300ms ease;
	-moz-transition: all 300ms ease;
	-ms-transition: all 300ms ease;
	-o-transition: all 300ms ease;
	transition: all 300ms ease;
}
body.quick-nav-active #quick-nav {
	right: 0;
}
	#quick-nav ul li {

	}
		#quick-nav .overview {
			
		}
		#quick-nav .overview:before {
			content: '←';
			display: inline-block;
			margin-right: 0.5rem;
		}
		#quick-nav a {
			color: #fffef7;
			display: block;
			padding: 0.5rem 0;
		}
		#quick-nav a:hover {
			opacity: 0.7;
		}
		#quick-nav li.current_page_item a {
			opacity: 0.5;
		}

/* contact form 7 */
.wpcf7 {
	margin-bottom: 6rem !important;
}
	.wpcf7 p {
		color: #000000;
		margin-bottom: 3rem;
	}
	.wpcf7 p:last-child {
		margin-bottom: 3rem;
	}
	.wpcf7 p.float-wrapper:after {
		content: '';
		display: block;
		clear: both;
	}
		.wpcf7 p.float-wrapper span.left {
			float: left;
			width: calc(50% - 10px);
		}
		.wpcf7 p.float-wrapper span.right {
			float: right;
			width: calc(50% - 10px);
		}

	input[type="text"], input[type="email"], input[type="tel"], textarea {
		font-family: 'open_sanslight';
		border: 1px solid #8f8f8f;
		background: transparent;
		-webkit-box-sizing: border-box;
		-moz-box-sizing: border-box;
		box-sizing: border-box;
		-moz-appearance: textfield;
		-webkit-appearance: textfield;
		appearance: textfield;
		width: 100%;
		padding: 10px;
		font-size: 20px;
		font-size: 2.0rem;
		color: #000000;
	}
	textarea {
		border: 1px solid #8f8f8f;
		padding: 10px;
	}
	input[type="date"] {
		font-family: 'open_sanslight';
		border: 1px solid #8f8f8f;
		padding: 10px;
		font-size: 20px;
		font-size: 2.0rem;
		width: 210px;
		-webkit-box-sizing: border-box;
		-moz-box-sizing: border-box;
		box-sizing: border-box;
	}

	select {
		-webkit-appearance: none;
		-moz-appearance: none;
		appearance: none;
		border: none;
		border-radius: 0;
		width: 100%;
		box-sizing: border-box;
		font-size: 20px;
		font-size: 2.0rem;
		color: #000000;
		padding: 20px;
		border: 1px solid #8f8f8f;
		background-image: url(../img/arrow-down.svg);
		background-repeat: no-repeat;
		background-size: 24px auto;
		background-position-x: calc(100% - 20px);
		background-position-y: center;
		margin-top: 10px;
	}
	/* hide browser-styling (arrow) in IE10 */
	select::-ms-expand {
		display:none;
	}
	.lt-ie10 select {
		background-image: none;
	}

	span.wpcf7-list-item {
		display: block !important;
		margin: 0 !important;
	}
	input[type="submit"] {
		font-family: 'open_sanssemibold';
		cursor: pointer;
		background: transparent;
		width: 100%;
		font-size: 20px; 
		font-size: 2.0rem;
		text-transform: uppercase;
		background: #191919;
		color: #ffffff;
		border: none;
		margin-bottom: 0;
		margin-top: 4rem;
		padding: 2rem 4rem;
		letter-spacing: 0.1em;
		-webkit-transition: all 300ms ease;
		-moz-transition: all 300ms ease;
		-ms-transition: all 300ms ease;
		-o-transition: all 300ms ease;
		transition: all 300ms ease;
	}
	.wpcf7 .wpcf7-submit:hover {
		background: #ebc8a0;
		color: #ffffff;
	}
	/*.ajax-loader {
		display: none !important;
	}
	.wpcf7 .ajax-loader,
	.wpcf7 img.ajax-loader {
		display: none !important;
	}*/
	.wpcf7-response-output {
		margin: 1rem 0px !important;
		padding: 1rem !important;
		font-family: 'open_sanslight';
		font-size: 18px !important;
		font-size: 1.8rem !important;
	}
	span.wpcf7-not-valid-tip {
		font-family: 'open_sanslight_italic';
		color: #e3000f !important;
		font-size: 18px !important;
		font-size: 1.8rem !important;
	}
	div.wpcf7-validation-errors {
		border: 1px solid #e3000f !important;
		color: #e3000f;
		font-size: 18px !important;
		font-size: 1.8rem !important;
	}
	div.wpcf7-mail-sent-ok {
		border: 1px solid #1a8e48 !important;
		color: #1a8e48 !important;
		font-size: 18px !important;
		font-size: 1.8rem !important;
	}
	::-webkit-input-placeholder { /* WebKit, Blink, Edge */
		color: #949494;
	}
	:-moz-placeholder { /* Mozilla Firefox 4 to 18 */
		color: #949494;
		opacity: 1;
	}
	::-moz-placeholder { /* Mozilla Firefox 19+ */
		color: #949494;
		opacity: 1;
	}
	:-ms-input-placeholder { /* Internet Explorer 10-11 */
		color: #949494;
	}


/* MEDIA QUERIES */

@media screen and (max-width: 2000px) {
	main, .wp-block-group.has-background .wp-block-group__inner-container {
		max-width: 80rem;
	}
	.alignwide {
		max-width: 110rem;
		margin-left: calc(50% - 110rem / 2);
	}
}

/* second most used on desktop */
@media screen and (max-width: 1920px) {
	
}

@media screen and (max-width: 1800px) {
	html {
		font-size: 75%;
	}
}

/* laptop with HiDPI */
@media screen and (max-width: 1440px) {
	main, .wp-block-group.has-background .wp-block-group__inner-container {
		max-width: 74rem;
	}
	.alignwide {
		max-width: 95rem;
		margin-left: calc(50% - 95rem / 2);
	}
}

/* most used on desktop */
/* this is also iPad Pro 12.9-inch horizontal */
@media screen and (max-width: 1366px) {
	body.home #project-wrapper {
		flex-basis: 38rem;
	}
}

/* laptop with MDPI */
@media screen and (max-width: 1280px) {
	html {
		font-size: 67%;
	}
}

/* iPad Pro 10.5-inch horizontal */
@media screen and (max-width: 1112px) {
	.alignwide {
		max-width: 100%;
		margin: auto;
		padding: 0 5rem;
		box-sizing: border-box;
		width: 100%;
	}

	footer {
		justify-content: flex-start;
	}
}

/* iPad horizontal */
@media screen and (max-width: 1024px) {
	html {
		font-size: 62%;
	}

	body.home #project-wrapper {
		flex-basis: 36rem;
	}

	body.home header #logo {
		width: 60%;
	}
}

@media screen and (max-width: 900px) {
	h1 {
		font-size: 3.2rem;
	}
	h2 {
		font-size: 2.4rem;
	}

	h1 {
		font-size: 2.8rem;
	}

	main, .wp-block-group.has-background .wp-block-group__inner-container {
		padding: 9rem 5rem;
	}
	.wp-block-group, .wp-block-columns.space-2 {
		margin-top: 9rem;
		margin-bottom: 9rem;
	}
	.wp-block-columns.space-2:last-child {
		margin-bottom: 0;
	}

	footer {
		min-height: 190px;
		justify-content: center;
		padding: 10rem 5rem;
	}
		footer #kbt-logo {
			bottom: initial;
			right: initial;
			display: block;
			width: 22rem;
			height: auto;
			top: 7rem;
			left: 50%;
			margin-left: -11rem;
		}
		footer .footer-menu a {
			margin: 1rem;
		}

	body.home #logo-wrapper, body.home #project-wrapper {
		flex-basis: 50%;
		box-sizing: border-box;
	}
	body.home header #logo {
		width: 80%;
	}

	main .wp-block-group.karte:last-child {
		margin-bottom: -9rem;
	}
}

@media screen and (max-width: 781px) {
	.wp-block-columns {
		flex-wrap: nowrap;
	}
		.wp-block-column:not(:only-child) {
			flex-basis: calc(50% - 2rem) !important;
		}

	h1 {
		font-size: 2.6rem;
	}

	#logo-wrapper {
		padding: 3rem;
	}

	body.home header {
		height: auto;
		flex-direction: column;
	}
		body.home #logo-wrapper, body.home #project-wrapper {
			flex-basis: initial;
		}
			body.home header #logo {
				width: 22rem;
			}
		body.home .project {
			min-height: 540px;
		}
}

@media screen and (max-width: 600px) {
	.wp-block-columns {
		flex-wrap: wrap;
	}
		.wp-block-column:not(:only-child) {
			flex-basis: 100% !important;
			margin-left: 0 !important;
			margin-bottom: 2rem;
		}
		.wp-block-column:last-child {
			margin-bottom: 0;
		}

	.wp-block-columns.mobile-break-more-space {
		margin-top: 0;
		margin-bottom: 0;
	}
		.wp-block-columns.mobile-break-more-space .wp-block-column {
			margin-bottom: 6rem;
		}
	.wp-block-columns.space-2 {
		margin-top: 0;
	}

	nav#main-menu ul li a {
		padding: 2rem 1.5rem;
	}

	.wp-block-group.karte::before {
		display: none;
	}

	.page-template-page-projektseite .wp-block-column:first-child {
		margin-bottom: 0;
	}
	.page-template-page-projektseite .wp-block-column:last-child {
		border-top: 2px solid rgba(83, 71, 68, 0.2);
		padding-top: 6rem;
		margin-top: 6rem;
	}
	.page-template-page-projektseite .wp-post-image {
		width: 100vw;
		max-width: 100vw;
		position: relative;
		left: 50%;
		right: 50%;
		margin-left: -50vw;
		margin-right: -50vw;
	}

	#menu-icon-holder {
		width: 6rem;
		height: 6rem;
	}
}

/* smartphone */
@media screen and (max-width: 375px) {
	h1 {
		font-size: 2.6rem;
	}
	h2, .wp-block-columns h2 {
		font-size: 2.0rem;
	}
	h3 {
		font-size: 1.7rem;
	}
	h3 {
		font-size: 1.6rem;
	}
}

@media screen and (max-width: 350px) {
	nav#main-menu ul li a {
		padding: 2rem 1rem;
	}
}

