/*
	Theme Name: HTML5 Blank
	Theme URI: http://html5blank.com
	Description: HTML5 Blank WordPress Theme
	Version: 1.4.3
	Author: Todd Motto (@toddmotto)
	Author URI: http://toddmotto.com
	Tags: Blank, HTML5, CSS3

	License: MIT
	License URI: http://opensource.org/licenses/mit-license.php
*/

/*------------------------------------*\
    MAIN
\*------------------------------------*/

/* global box-sizing */
*,
*:after,
*:before {
	-moz-box-sizing:border-box;
	box-sizing:border-box;
	-webkit-font-smoothing:antialiased;
	font-smoothing:antialiased;
	text-rendering:optimizeLegibility;
}
/* html element 62.5% font-size for REM use */
html {
	font-size:62.5%;
}
body {
	font:300 11px/1.4 'Helvetica Neue', Helvetica, Arial, sans-serif;
	color:#333;
	font-family: 'Lato', sans-serif;
}
/* clear */
.clear:before,
.clear:after {
    content:' ';
    display:table;
}

.clear:after {
    clear:both;
}
.clear {
    *zoom:1;
}
img {
	max-width:100%;
	vertical-align:bottom;
}
strong {
	font-weight: 500;
}
a {
	color:#333;
	text-decoration:none;
}
a:hover {
	color:#333;
}
a:focus {
	outline:0;
}
a:hover,
a:active {
	outline:0;
}
input:focus {
	outline:0;
	border:1px solid #04A4CC;
}

/*------------------------------------*\
    STRUCTURE
\*------------------------------------*/

/* wrapper */
.wrapper {
	font-size: 21px;
}

main {
	width:100%;
	margin:0 auto;
	position:relative;
	padding-top: 80px;
	min-height: 100vh;
}

article > .wp-block-group__inner-container {
	width: 95%;
	max-width: 1200px;
	margin: 0 auto;
	padding: 1em 0;
}


/* header */
.header {
	position: fixed;
	width: 100%;
	background-color: #fff;
	top: 0;
	left: 0;
	-webkit-box-shadow: 0 0 1em 0 rgba(0,0,0,0.3);
	box-shadow: 0 0 1em 0 rgba(0,0,0,0.3);
	z-index: 5;
}

.header_inner {
	width: 95%;
	max-width: 1200px;
	margin: 0 auto;
	display: flex;
	justify-content: space-between;
	align-items: flex-end;
}

/* logo */
.logo {
	height: 80px;
	padding: 28px 0;
}
.logo-img {
	height: 100%;
	width: auto;
	display: flex;
}
/* nav */
.nav {
	
}

.nav ul {
	list-style: none;
	font-weight: 400;
	display: flex;
	padding: 0;
	margin: 0;
	font-size: 0.9em;
}

.nav ul a {
	margin-bottom: 23px;
	margin-left: 2em;
	display: inline-block;
	letter-spacing: 0.05em;
}

.nav ul a:hover {
	color: #f39115;
}

.nav .current_page_item a {
	font-weight: 700;
	color: #f39115;
}



/* sidebar */
.sidebar {

}
/* footer */
.footer {
	background-color: #f39115;
	color: #fff;
	font-weight: 400;
	letter-spacing: 0.03em;
	padding: 1em;
	font-size: 0.8em;
}

.footer_inner {
	width: 95%;
	max-width: 1200px;
	margin: 0 auto;
	display: flex;
	justify-content: space-between;
}

.footer_inner a {
	color: #fff;
	opacity: 0.8;
}

.footer_inner a:hover {
	opacity: 1;
}


/*------------------------------------*\
    LAYOUT
\*------------------------------------*/

.page_banner {
	height: 50vmin;
	min-height: 400px;
	position: relative;
}


.home .page_banner {
	height: 60vmin;
}


.page_banner img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center center;
}

.ueber-uns .page_banner img {
	object-position: center 23%;
}

.page_title {
	letter-spacing: 0.03em;
	padding: 1em 5em 1em calc((100% - 1200px) / 2);
	color: #fff;
	position: absolute;
	bottom: 0em;
	left: 0;
	display: flex;
	align-items: center;
	height: 10em;
}

.page_title::before {
	content: '';
	position: absolute;
	width: 100%;
	height: 100%;
	left: 0;
	top: 0;
	z-index: 1;
	mix-blend-mode: multiply;
	background-color: rgba(0,0,0,0.6);
	clip-path: polygon(0% 0%, 90% 0%, 100% 50%, 90% 100%, 0% 100%);
}

.page_title h1 {
	z-index: 3;
	letter-spacing: 0.03em;
}

/*
.home .page_title {
	left: auto;
	right: 0;
	height: 100%;
	min-width: 40vw;
	padding: 1em 8em 1em 6em;
}

.home_aktuell {
	z-index: 3;
	font-weight: 400;
}

.home_aktuell .aktuell {
	font-size: 1.5em;
	letter-spacing: 0.08em;
	font-weight: 300;
}

.home_aktuell strong {
	font-weight: 700;
}

.home_aktuell a {
	color: inherit;
}

.home .page_title::before {
	clip-path: polygon(15% 0%, 100% 0%, 100% 100%, 15% 100%, 0% 50%);
}
*/


.slogan_wrapper {
	font-weight: 700;
	letter-spacing: 0.03em;
	padding: 1em 5em 1.25em 5em;
	color: #fff;
	position: absolute;
	bottom: -5em;
	right: 0;
	display: flex;
	align-items: flex-end;
	height: 10em;
}

.slogan_wrapper::before {
	content: '';
	position: absolute;
	width: 100%;
	height: 100%;
	left: 0;
	top: 0;
	z-index: 1;
	mix-blend-mode: multiply;
	background-color: #f39115;
	/*clip-path: polygon(0% 0%, 90% 0%, 100% 50%, 90% 100%, 0% 100%);*/
	clip-path: polygon(10% 0%, 100% 0%, 100% 100%, 10% 100%, 0% 50%);
}

.slogan_wrapper span {
	position: relative;
	z-index: 2;
}
	
.slogan_wrapper em {
	font-style: normal;
	opacity: 0.7;
}

/*
.home .slogan_wrapper {
	left: 0;
	right: auto;
}

.home .slogan_wrapper::before {
	clip-path: polygon(0% 0%, 90% 0%, 100% 50%, 90% 100%, 0% 100%);
}
*/


.wp-block-media-text {
	font-size: 0.9em;
}

.portrait_box.wp-block-media-text {
	grid-template-columns: 35% 1fr;
}

.aktuell_box {
	
}


.wp-block-media-text .wp-block-media-text__media {
	display: flex;
	height: 100%;
}

.wp-block-media-text .wp-block-media-text__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: right center;
	clip-path: polygon(0% 0%, 85% 0%, 100% 50%, 85% 100%, 0% 100%);
}

.aktuell_box .wp-block-media-text__media img {
	clip-path: polygon(0% 0%, 85% 0%, 100% 50%, 85% 100%, 0% 100%);
	transition: all 0.5s;
}

.aktuell_box:hover .wp-block-media-text__media img {
	clip-path: polygon(0% 0%, 100% 0%, 85% 50%, 100% 100%, 0% 100%);
}

.aktuell_box.wp-block-media-text .wp-block-media-text__media img {
	height: 16em;
}


.wp-block-media-text.has-media-on-the-right .wp-block-media-text__media img {
	clip-path: polygon(15% 0%, 100% 0%, 100% 100%, 15% 100%, 0% 50%);
}

.aktuell_box.has-media-on-the-right:hover .wp-block-media-text__media img {
	clip-path: polygon(0% 0%, 100% 0%, 100% 100%, 0% 100%, 15% 50%);
}



/*------------------------------------*\
    PAGES
\*------------------------------------*/

.wp-block-group.ref_grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	grid-gap: 4em;
}

.ref_box {
	height: 100%;
}

.ref_box figure {
	width: 100%;
	padding-bottom: 60%;
	position: relative;
	clip-path: polygon(0% 0%, 100% 0%, 100% 90%, 50% 100%, 0% 90%);
	transition: all 0.5s;
}

.ref_box:hover figure {
	clip-path: polygon(0% 0%, 100% 0%, 100% 100%, 50% 90%, 0% 100%);
}

.ref_box figure img {
	position: absolute;
	width: 100%;
	height: 100%;
	top: 0;
	left: 0;
	object-fit: cover;
	object-position: center center;
	
}

.ref_box > div {
	padding: 0em 1.5em 0.5em 1.5em;
	font-size: 0.86em;
	line-height: 1.5;
}

.wp-block-button__link {
	font-size: 0.9em;
	letter-spacing: 0.05em;
	font-weight: 500;
	color: #fff;
	clip-path: polygon(0% 0%, calc(100% - 1em) 0%, 100% 50%, calc(100% - 1em) 100%, 0% 100%);
}

.wp-block-button__link:hover {
	background-color: #f39115;
	color: #fff;
}

.single-objekte h3 {
	padding-right: 30%;
	padding-top: 1em;
}

.ref_hidden_imgs {
	display: none;
}



/*------------------------------------*\
    IMAGES
\*------------------------------------*/



.wp-block-gallery figure.wp-block-image {
	position: relative;
	width: 100%;
	padding-bottom: 33%;
	overflow: hidden;
}

.wp-block-gallery figure.wp-block-image a {
	display: contents;
}
	
	
.wp-block-gallery figure.wp-block-image img {	
	position: absolute;
	width: 100%;
	height: 100%;
	top: 0;
	left: 0;
	object-position: center center;
	transition: transform 1s;
	transform: scale(1);
}

.wp-block-gallery figure.wp-block-image:hover img {	
	transform: scale(1.2);
}
	

/*------------------------------------*\
	TYPOGRAPHY
\*------------------------------------*/







/*------------------------------------*\
    RESPONSIVE
\*------------------------------------*/

@media only screen and (min-width:320px) {

}
@media only screen and (min-width:480px) {

}
@media only screen and (min-width:768px) {

}
@media only screen and (min-width:1024px) {

}
@media only screen and (min-width:1140px) {

}
@media only screen and (min-width:1280px) {

}
@media only screen and (-webkit-min-device-pixel-ratio:1.5),
	   only screen and (min-resolution:144dpi) {

}

/*------------------------------------*\
    MISC
\*------------------------------------*/

::selection {
	background:#04A4CC;
	color:#FFF;
	text-shadow:none;
}
::-webkit-selection {
	background:#04A4CC;
	color:#FFF;
	text-shadow:none;
}
::-moz-selection {
	background:#04A4CC;
	color:#FFF;
	text-shadow:none;
}

/*------------------------------------*\
    WORDPRESS CORE
\*------------------------------------*/

.alignnone {
	margin:5px 20px 20px 0;
}
.aligncenter,
div.aligncenter {
	display:block;
	margin:5px auto 5px auto;
}
.alignright {
	float:right;
	margin:5px 0 20px 20px;
}
.alignleft {
	float:left;
	margin:5px 20px 20px 0;
}
a img.alignright {
	float:right;
	margin:5px 0 20px 20px;
}
a img.alignnone {
	margin:5px 20px 20px 0;
}
a img.alignleft {
	float:left;
	margin:5px 20px 20px 0;
}
a img.aligncenter {
	display:block;
	margin-left:auto;
	margin-right:auto;
}
.wp-caption {
	background:#FFF;
	border:1px solid #F0F0F0;
	max-width:96%;
	padding:5px 3px 10px;
	text-align:center;
}
.wp-caption.alignnone {
	margin:5px 20px 20px 0;
}
.wp-caption.alignleft {
	margin:5px 20px 20px 0;
}
.wp-caption.alignright {
	margin:5px 0 20px 20px;
}
.wp-caption img {
	border:0 none;
	height:auto;
	margin:0;
	max-width:98.5%;
	padding:0;
	width:auto;
}
.wp-caption .wp-caption-text,
.gallery-caption {
	font-size:11px;
	line-height:17px;
	margin:0;
	padding:0 4px 5px;
}
.sticky {

}
.bypostauthor {

}

/*------------------------------------*\
    PRINT
\*------------------------------------*/

@media print {
	* {
		background:transparent !important;
		color:#000 !important;
		box-shadow:none !important;
		text-shadow:none !important;
	}
	a,
	a:visited {
		text-decoration:underline;
	}
	a[href]:after {
		content:" (" attr(href) ")";
	}
	abbr[title]:after {
		content:" (" attr(title) ")";
	}
	.ir a:after,
	a[href^="javascript:"]:after,
	a[href^="#"]:after {
		content:"";
	}
	pre,blockquote {
		border:1px solid #999;
		page-break-inside:avoid;
	}
	thead {
		display:table-header-group;
	}
	tr,img {
		page-break-inside:avoid;
	}
	img {
		max-width:100% !important;
	}
	@page {
		margin:0.5cm;
	}
	p,
	h2,
	h3 {
		orphans:3;
		widows:3;
	}
	h2,
	h3 {
		page-break-after:avoid;
	}
}
