/*
Theme Name: Architheke
Theme URI: https://architheke.ch
Description: Custom Theme Architheke
Author: Roger Burkhard
Author URI: http://www.rogerburkhard.com
*/

/*------------------------------------------------------
VARIABLES
------------------------------------------------------*/

:root {
  --offset: 1.38vw;
  --offset-minus:  -1.38vw;
  --max_width: 100%;
  --columns: 12;
  --gap: 1.38vw;
  --baseline: 0;
  --baseline-offset: 0;
  --font_color: #009A8F;
  --color_grey:#CBCBCB;
  --bg_color:#FAFAFA;
  --easing:cubic-bezier(0.33, 1, 0.68, 1);

  --grid_color: hsla(204, 80%, 72%, 0.25);
  --repeating_width: calc(100% / var(--columns));
  --column_width: calc((100% /  (var(--columns)) -  var(--gap)));
  --background_width: calc(100% +  var(--gap));
  --background_columns: repeating-linear-gradient(to right, var(--grid_color), var(--grid_color) var(--column_width), transparent var(--column_width), transparent var(--repeating_width));
  --background_baseline: repeating-linear-gradient(to bottom, var(--grid_color), var(--grid_color) 1px, transparent 1px, transparent var(--baseline));
}

/*------------------------------------------------------
THE BIG FAT RESET
------------------------------------------------------*/

* {
	min-height: 0;
	min-width: 0;
}


html, body, div, span, h1, h2, h3, h4, h5, h6, ul, ol, dl, li, dt, dd, p, blockquote, pre, form, fieldset, table, th, td, header, footer {
	margin: 0;
	padding: 0;
}

sub, sup {
	line-height: 0;
}

/*------------------------------------------------------
IMPORT FONTS
------------------------------------------------------*/

@font-face {
    font-family: 'Rules-Regular';
    src: url('styles/fonts/Rules-Regular.woff2') format('woff2'),
         url('styles/fonts/Rules-Regular.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}

/*------------------------------------------------------
GRID HELPER
------------------------------------------------------*/

/* Grid */

/*
html::before {
	position: fixed;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
	margin-right: auto;
	margin-left: auto;
	width: calc(100% - (2 * var(--offset)));
	max-width: var(--max_width);
	min-height: calc(100vh - 86px);
	content: '';
	background-image: var(--background_columns), var(--background_baseline);
	background-size: var(--background_width) 100%;
	background-position: 0 var(--baseline-offset);
	z-index: 1000;
	pointer-events: none;
}

/* Squares */

/*
$square: transparent 0 calc(20px - 1px),#ccc 0 20px;

body {
	width: 100%;
	height: 100%;
	margin: 0 auto;
	background: repeating-linear-gradient(to right, $square), repeating-linear-gradient(to bottom,$square) #fff;
}
*/

/*------------------------------------------------------
GENERAL
------------------------------------------------------*/

html {
	width: 100%;
	height: 100%;
	background: var(--bg_color);
	margin:0 !important;
	-webkit-text-size-adjust: 100%;
}

body {
	width: -moz-calc(100% - (var(--offset))*2);
	width: -webkit-calc(100% - (var(--offset))*2);
	width: -o-calc(100% - (var(--offset))*2);
	width: calc(100% - (var(--offset))*2);
	padding: 0 var(--offset);
	font: normal 1.66vw/1.82vw 'Rules-Regular', Helvetica, Arial, Verdana, sans-serif;
	background: var(--bg_color);
	color: var(--font_color);
	overflow-x: hidden;
	min-width: 320px;
	-webkit-font-smoothing: antialiased;
	-moz-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	font-smoothing: antialiased;
}

body.noscroll {
	overflow: hidden;
}

body.wait, body.wait a {
	cursor:wait;
	overflow-y:hidden;
}

#wpadminbar {
	display:none !important;
}

div:focus {
	outline: none;
	ie-dummy: expression(this.hideFocus=true);
}

::selection {
  background: var(--font_color);
  color:#fff;
}

::-moz-selection {
  background: var(--font_color);
  color:#fff;
}

a::selection {
	color:#fff !important;
}

a::-moz-selection {
	color:#fff !important;
}

.ie_message {
	display: none;
	padding: 10px;
}

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

h1, h2, h3, h4, h5, h6 {
	font-weight:normal;
}

h1, .project_listing_title, span.very_large_type {
	font-size:4.5vw;
	line-height:4.5vw;
}

span.very_large_type {
	overflow-wrap: break-word;
	-webkit-hyphens: auto;
	-moz-hyphens: auto;
	hyphens: auto;
	hyphenate-limit-chars: 6 3 2;
	hyphenate-limit-last: always;
}

h2, .large_type {
	font-size:2.4vw;
	line-height:2.64vw;
}

header .title_items,
nav a.nav_item.active .animated_title span {
	display:block;
	font-size:6.25vw;
	line-height:6.87vw;
}

.small_type {
	font-size:1.1vw;
	line-height:1.21vw;
}

p {
	margin-bottom: 1.38vw;
}

b, strong {
	font-weight: normal;
}

/*------------------------------------------------------
GENERAL LINKS
------------------------------------------------------*/

a {
	outline: none;
	text-decoration: none;
	cursor: pointer;
	color: var(--font_color);
}

:focus {
	-moz-outline-style: none;
}

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

img {
	display: block;
	border: none 0;
}

.lazyload, .lazyloading {
	opacity: 0;
}

.lazyloaded {
	opacity: 1;
	-webkit-transition:opacity 0.5s;
	transition: opacity 0.5s;
}

/*------------------------------------------------------
VIDEO
------------------------------------------------------*/

video {
	display:block;
	outline: 0;
	-moz-outline-style: none;
}

/* Responsive iFrame */

.video_wrap {
	position: relative;
	padding-bottom: 56.25%; /* 16:9 */
	padding-top: 25px;
	height: 0;
}

.video_wrap iframe {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
}

/*------------------------------------------------------
CLEAR
------------------------------------------------------*/

.clear {
	clear: both;
}

/*------------------------------------------------------
Focus Input & Textarea
------------------------------------------------------*/

input, textarea {
	-webkit-border-radius: 0px;
	-moz-border-radius: 0px;
	border-radius: 0px;
	resize: none;
	-webkit-appearance: none;
	-moz-appearance: none;
	appearance: none;
}

input[type="search"]::-webkit-search-decoration,
input[type="search"]::-webkit-search-cancel-button,
input[type="search"]::-webkit-search-results-button,
input[type="search"]::-webkit-search-results-decoration { 
	display: none; 
}

textarea:focus, input:focus, select:focus {
    outline: 0;
}

input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

input[type="button"], button {
   outline:none !important;
}
input[type="button"]::-moz-focus-inner, button::-moz-focus-inner {
   border: 0 !important;
}

/*------------------------------------------------------
WYSIWIG CONTENT
------------------------------------------------------*/

.wysiwig_content img {
	display: block;
	width: 100%;
	height: auto;
}

.wysiwig_content ul {
    list-style: none;
    margin-left: 0;
    padding-left: 1em;
}

.wysiwig_content ul > li:before {
    display: inline-block;
    content: "–";
    width: 1em;
    margin-left: -1em;
}

.wysiwig_content a:after {
	content:' ↗ ';
}

.wysiwig_content a {
	-webkit-transition:color 0.4s var(--easing);
	transition:color 0.4s var(--easing);
}

body.no_touch .wysiwig_content a:hover {
	color:var(--color_grey);
}

/*------------------------------------------------------
GRID
------------------------------------------------------*/

.grid {
	display: -ms-grid;
	display: grid;
	grid-gap: var(--gap);
	grid-row-gap: 0px;
	grid-template-columns: repeat(var(--columns), 1fr);
	align-items: start;
}

.full_columns {
	-ms-grid-columns: 1 / 13;
	grid-column:1 / 13;
}

/*------------------------------------------------------
BARBA
------------------------------------------------------*/

.detail_page {
	background: var(--bg_color);
	position: absolute; 
	top:0;
	left:0;
	height: calc(var(--vh, 1vh) * 100);
	width: -moz-calc(100vw - (var(--offset) * 2));
	width: -webkit-calc(100vw - (var(--offset) * 2));
	width: -o-calc(100vw - (var(--offset) * 2));
	width: calc(100vw - (var(--offset) * 2));
	padding-left:var(--offset);
	padding-right:var(--offset);
	overflow-y:auto;
	overflow-x:hidden;
	position:absolute; inset:0;
	will-change: transform, opacity;
	backface-visibility: hidden;
	transform: translateZ(0);
	scrollbar-width: none;
}

.detail_page .detail_page_inside {
	padding-top:15.4vw;
	opacity:0;
	-webkit-transform: translateY(10vh);
	transform: translateY(10vh);
	-webkit-transition: -webkit-transform 0.5s var(--easing);
	transition: transform 0.5s var(--easing);
}

.detail_page.show .detail_page_inside {
	opacity:1;
	-webkit-transform: translateY(0);
	transform: translateY(0);
}

.detail_page.single_projekte .detail_page_inside,
.detail_page.single_journal .detail_page_inside {
	padding-top:1.18vw;
}

.detail_page::-webkit-scrollbar {
    display: none;
}

[data-barba="wrapper"] {
	position: relative;
	overflow: hidden;
}

[data-barba="container"].page-leave,
[data-barba="container"].page-leave-active,
[data-barba="container"].page-leave-to {
	transition: none !important;
	animation: none !important;
}

[data-barba="container"]{
	position:absolute; inset:0;
	will-change: transform, opacity;
	backface-visibility: hidden;
	transform: translateZ(0); 
	contain: paint;
	transform: translateZ(0);
	backface-visibility: hidden;
	will-change: transform, opacity;
}

/* Leave */

.page-leave {
	transform: translateX(0);
}

.page-leave-active {
	z-index: 1;
	opacity:0;
}

.page-leave-to {
	opacity:0;
	transform: translateX(0);
}

/* New Page */

.page-enter-active {
	z-index: 1;
	transition: opacity 0.6s cubic-bezier(0.25, 1, 0.5, 1);
	will-change: opacity;
}

.page-enter {
	z-index: 1;
	transform: opacity:0;
}

.page-enter-to {
	transform: opacity:1;
}

/*------------------------------------------------------
OVERLAY
------------------------------------------------------*/

#overlay {
	display:none;
	position:fixed;
	top:0;
	left:0;
	right:0;
	bottom:0;
	background: var(--bg_color);
	z-index:1000;
	overflow-x:hidden;
	overflow-y:auto;
}

.close_overlay {
	display:block;
	position:fixed;
	z-index:10;
	top:1.8vw;
	right:var(--offset);
	width:3.8vw;
	height:3.8vw;
	background:url('images/close_overlay.svg') no-repeat center center;
	background-size:contain;
}

/*------------------------------------------------------
HEADER
------------------------------------------------------*/

header {
	position:fixed;
	top:0;
	left:var(--offset);
	right:0;
	z-index:200;
	-webkit-touch-callout: none;
	-webkit-user-select: none;
	-khtml-user-select: none; 
	-moz-user-select: none;
	-ms-user-select: none;
	user-select: none;
	pointer-events:none;
}

header.show_nav, .animated_title.show_nav {
	margin-top:0 !important;
}

/*
body.single-projekte header,
body.single-journal header {
	display:none;
}
*/

body.single-projekte .close_overlay,
body.single-journal .close_overlay,
body.single-projekte .header_bg,
body.single-journal .header_bg {
	display:none !important;
}

header .title_items {
	margin-top:1.25vw;
	width:100%;
	text-align:center;
	opacity:0;
}

header .title_items .title_item {
	display:none;
}

body.page-template-default header .title_items {
	opacity:1;
}

header .title_items .title_item.do_anim {
	opacity:0;
}

header .title_items .title_item.active {
	display:inline-block;
	position:relative;
	overflow-wrap: break-word;
	-webkit-hyphens: auto;
	-moz-hyphens: auto;
	hyphens: auto;
	hyphenate-limit-chars: 6 3 2;
	hyphenate-limit-last: always;
}

header .title_items.is_home .title_item.title_item_home,
header .title_items .title_item.title_item_home.active,
nav a.nav_item.nav_item_home.active .animated_title span {
	font-size: min(max(13.8vw, 13.8vw), 200px);
	line-height: min(max(13.19vw, 13.19vw), 190px);
	margin-top:0.48vw;
}

.header_bg {
	display:none;
	position:fixed;
	top:0;
	left:0;
	height:11.6vw;
	right:0;
	z-index:-1;
	pointer-events:none;
	background: linear-gradient(0deg, rgba(250, 250, 250, 0) 0%, var(--bg_color) 100%);
}

header.show_nav .header_bg {
	display:block;
}

nav a.nav_item.nav_item_home .animated_title span {
	-webkit-transition: all 0.4s var(--easing);
	transition: all 0.4s var(--easing);
}

header .title_items.is_home .title_item.title_item_home span,
nav a.nav_item_home span {
	opacity:0;
}

nav {
	position:absolute;
	left: -moz-calc(100vw - 11.4vw);
	left: -webkit-calc(100vw - 11.4vw);
	left: -o-calc(100vw - 11.4vw);
	left: calc(100vw - 11.4vw);
	top:var(--offset);
	text-align:right;
	pointer-events:all;
}

nav a {
	display:table;
	position:relative;
}

nav a.inactive {
	margin-bottom:0.27vw;
}

nav a .static_title {
	display:block;
	position:releative;
}

nav a .static_title.do_anim {
	opacity:0;
}

nav a {
	display:table;
	overflow:visible;
	-webkit-transition: height 0.4s var(--easing), color 0.4s var(--easing);
	transition: height 0.4s var(--easing), color 0.4s var(--easing);
}

body.no_touch nav a:hover {
	color:var(--color_grey);
}

nav a .animated_title {
	display:inline-block;
	position:absolute;
	top:0;
	left:0;
	opacity:0;
	pointer-events:none;
	-webkit-transition: all 0.4s var(--easing);
	transition: all 0.4s var(--easing);
}

nav a .animated_title.no_anim {
	-webkit-transition: all 0s var(--easing) !important;
	transition: all 0s var(--easing) !important;
}

nav a.active.hide .static_title {
	display:none;
}

nav a .animated_title.no_anim {
	-webkit-transition: left 0s var(--easing), top 0s var(--easing);
	transition: left 0s var(--easing), top 0s var(--easing);
}

nav a .static_title.do_anim {
	opacity:0;
}

header .title_items.is_home .title_item.title_item_home:after,
nav a.nav_item_home .static_title:after,
nav a.nav_item_home .animated_title:after {
	content:'';
	position:absolute;
	top:0;
	left:0;
	bottom:0;
	right:0;
	background:url('images/logo.svg') no-repeat top right;
	background-size:100% auto;
}

nav a.nav_item_home .static_title,
nav a.nav_item_home .animated_title {
	text-align:right;
	transform-origin:top right;
}

/*------------------------------------------------------
FLEXIBLE CONTENT
------------------------------------------------------*/

.flexible_content {
	padding-bottom:2vw;
}

.flexible_content.subgrid {
	display: -ms-grid;
	display: grid;
	grid-gap: var(--gap);
	grid-row-gap: 0px;
	grid-template-columns: repeat(var(--columns), 1fr);
	align-items: start;
}

/*------------------------------------------------------
FLEXIBLE CONTENT | TEXT
------------------------------------------------------*/

.flexible_content.flexible_content_text.align_left {
	-ms-grid-columns: 1 / 8;
	grid-column:1 / 8;
}

.flexible_content.flexible_content_text.align_right {
	-ms-grid-columns: 6 / 13;
	grid-column:6 / 13;
}

/*------------------------------------------------------
FLEXIBLE CONTENT | IMAGE
------------------------------------------------------*/

.flexible_content.flexible_content_image img,
.flexible_content.flexible_content_image video {
	width:100%;
	height:auto;
}

/* Landscape Large Left */

.flexible_content.flexible_content_image.type_landscape.size_big.align_left {
	-ms-grid-columns: 1 / 9;
	grid-column:1 / 9;
}

/* Landscape Large Right */

.flexible_content.flexible_content_image.type_landscape.size_big.align_right {
	-ms-grid-columns: 5 / 13;
	grid-column:5 / 13;
}

/* Landscape Small Left */

.flexible_content.flexible_content_image.type_landscape.size_small.align_left {
	-ms-grid-columns: 1 / 6;
	grid-column:1 / 6;
}

/* Landscape Small Right */

.flexible_content.flexible_content_image.type_landscape.size_small.align_right {
	-ms-grid-columns: 8 / 13;
	grid-column:8 / 13;
}

/* Portrait Large Left */

/*
.flexible_content.flexible_content_image.type_portrait.size_big.align_left {
	-ms-grid-columns: 3 / 9;
	grid-column:3 / 9;
}
*/

/* Portrait Large Right */

/*
.flexible_content.flexible_content_image.type_portrait.size_big.align_right {
	-ms-grid-columns: 5 / 11;
	grid-column:5 / 11;
}
*/

/* Portrait Small Left */

.flexible_content.flexible_content_image.type_portrait.size_big.align_left,
.flexible_content.flexible_content_image.type_portrait.size_small.align_left {
	-ms-grid-columns: 3 / 7;
	grid-column:3 / 7;
}

/* Portrait Small Right */

.flexible_content.flexible_content_image.type_portrait.size_big.align_right,
.flexible_content.flexible_content_image.type_portrait.size_small.align_right {
	-ms-grid-columns: 7 / 11;
	grid-column:7 / 11;
}

/*------------------------------------------------------
FLEXIBLE CONTENT | PROJECTS
------------------------------------------------------*/

.project_listing_title {
	display:block;
	text-align:center;
	padding-top:9.7vw;
	padding-bottom:3.7vw;
}

.project_listing,
.flexible_content_drawings {
	display: -ms-grid;
	display: grid;
	grid-gap: var(--gap);
	grid-row-gap: 0px;
	grid-template-columns: repeat(3, 1fr);
	align-items: center;
}

.project_listing,
.project_map {
	display:none;
}

.flexible_content_projects .project_listing {
	display: -ms-grid;
	display: grid;
}

.project_listing.show {
	display: -ms-grid;
	display: grid;
}

.project_map.show {
	display:block;
}

.project_listing .project_images,
.flexible_content_drawings .drawings {
	position:relative;
	width:80%;
	margin-left:auto;
	margin-right:auto;
}

.project_listing .project_image_middle img,
.flexible_content_drawings .plan_image_middle img {
	display:block;
	position:relative;
	z-index:0;
	aspect-ratio:1 / 1;
	width: -moz-calc(100% - 5.1vw);
	width: -webkit-calc(100% - 5.1vw);
	width: -o-calc(100% - 5.1vw);
	width: calc(100% - 5.1vw);
	height: -moz-calc(100% - 3.6vw);
	height: -webkit-calc(100% 3.6vw 3.6vw);
	height: -o-calc(100% - 52px);
	height: calc(100% - 3.6vw);
	padding:1.8vw 2.5vw;
	object-fit:contain;
	object-position: center center;
	-ms-transform: scale(1);
	-webkit-transform: scale(1);
	transform: scale(1);
	transform-origin: center center;
	-webkit-transform-origin: center center;
	-webkit-transition: -webkit-transform 0.6s var(--easing);
	transition: transform 0.6s var(--easing);
}

body.no_touch .project_row:hover .project_image_middle img,
body.no_touch .flexible_content_drawings .drawings:hover .plan_image_middle img  {
	-ms-transform: scale(1.05);
	-webkit-transform: scale(1.05);
	transform: scale(1.05);
}

.project_listing .project_image_top,
.project_listing .project_image_bottom,
.flexible_content_drawings .plan_image_top,
.flexible_content_drawings .plan_image_bottom {
	position:absolute;
	z-index:1;
	aspect-ratio:1 / 1;
	width:48%;
	-webkit-transform: translateX(0%);
	transform: translateX(0%);
	-webkit-transition:all 0.6s var(--easing);
	transition:all 0.6s var(--easing);
}

.project_listing .project_image_top img,
.project_listing .project_image_bottom img,
.flexible_content_drawings .plan_image_top img,
.flexible_content_drawings .plan_image_bottom img {
	width:100%;
	height:100%;
	object-fit:contain;
}

.project_listing .project_image_top,
.flexible_content_drawings .plan_image_top {
	left:0;
}

.project_listing .project_image_top img,
.flexible_content_drawings .plan_image_top img {
	object-position:top left;
}

body.no_touch .project_row:hover .project_image_top,
body.no_touch .flexible_content_drawings .drawings:hover .plan_image_top {
	left:100%;
	transform: translateX(-100%);
}

body.no_touch .project_row:hover .project_image_top img,
body.no_touch .flexible_content_drawings .drawings:hover .plan_image_top img {
	object-position:top right;
}

.project_listing .project_image_bottom,
.flexible_content_drawings .plan_image_bottom  {
	bottom:0;
	right:0;
}

.project_listing .project_image_bottom img,
.flexible_content_drawings .plan_image_bottom img {
	object-position:bottom right;
}

body.no_touch .project_row:hover .project_image_bottom,
body.no_touch .flexible_content_drawings .drawings:hover .plan_image_bottom {
	right:100%;
	transform: translateX(100%);
}

body.no_touch .project_row:hover .project_image_bottom img,
body.no_touch .flexible_content_drawings .drawings:hover .plan_image_bottom img {
	object-position:bottom left;
}

.project_listing .project_title {
	margin-top:10px;
}

/*------------------------------------------------------
PROJECT OVERVIEW
------------------------------------------------------*/

a.project_row {
	margin-bottom:9vw;
}

.page_projekte a.project_row {
	display:none;
}

.page_projekte a.project_row.show {
	display:block;
}

.page_projekte .project_infos {
	color:var(--color_grey);
}

.project_filter {
	position:relative;
	margin-bottom:80px;
	text-align:center;
}

.detail_page.view_map .current_filter,
.detail_page.view_map .filter_listing {
	display:none;
}

.project_filter .current_filter {
	display:inline-block;
	position:relative;
	-webkit-touch-callout: none;
	-webkit-user-select: none;
	-khtml-user-select: none; 
	-moz-user-select: none;
	-ms-user-select: none;
	user-select: none;
}

.project_filter .current_filter span.current {
	color:var(--color_grey);
	cursor:pointer;
	padding-right:3.4vw;
	position:relative;
}

.project_filter .current_filter span.current:after {
	content:'';
	position:absolute;
	top:50%;
	margin-top:-0.85vw;
	right:0;
	width:2.6vw;
	height:1.7vw;
	background:url('images/filter_arrow.svg') no-repeat center right;
	background-size:2.6vw 1.7vw;
	transform: rotate(0);
	-webkit-transform: -webkit-rotate(0);
	transform-origin: center center;
	-webkit-transform-origin: center center;
	-webkit-transition: -webkit-transform 0.4s var(--easing);
	transition: transform 0.4s var(--easing);
}

.project_filter .current_filter.active span.current:after {
	transform: rotate(180deg);
	-webkit-transform: -webkit-rotate(180deg);
}

.project_filter .filter_listing {
	display:none;
	padding-top:2vw;
	max-width:60vw;
	margin:0 auto;
}

.project_filter .filter_listing a {
	display:inline-block;
	color:var(--color_grey);
	margin:0 0.5vw 0.34vw 0.5vw;
	-webkit-transition:color 0.4s var(--easing);
	transition:color 0.4s var(--easing);
}

body.no_touch .project_filter .filter_listing a:hover,
.project_filter .filter_listing a.active {
	color:var(--font_color);
}

.project_filter .filter_listing a.active:after {
	content: '\02E3';
}

.project_view {
	position:fixed;
	right:var(--offset);
	top:17vw;
	z-index:10;
}

.project_view a {
	color:var(--color_grey);
	-webkit-transition:color 0.4s var(--easing);
	transition:color 0.4s var(--easing);
}

.project_view a.active,
body.no_touch .project_view a:hover {
	color:var(--font_color);
}

.outer_go_to_all_projects {
	text-align:center;
}

.outer_go_to_all_projects a {
	-webkit-transition:color 0.4s var(--easing);
	transition:color 0.4s var(--easing);
}

body.no_touch .outer_go_to_all_projects a:hover {
	color:var(--color_grey);
}

.outer_go_to_all_projects a span {
	display:inline-block;
	-webkit-transform: translateX(0);
	transform: translateX(0);
	-webkit-transition: -webkit-transform 0.4s var(--easing);
	transition: transform 0.4s var(--easing);
}

body.no_touch .outer_go_to_all_projects a:hover span {
	-webkit-transform: translateX(4px);
	transform: translateX(4px);
}

/*------------------------------------------------------
PROJECT TITLE
------------------------------------------------------*/

.project_main_title {
	-ms-grid-columns: 2 / 12;
	grid-column:2 / 12;
	text-align:center;
	padding-bottom:2vw;
}

.project_main_image {
	-ms-grid-columns: 5 / 13;
	grid-column:5 / 13;
	margin-bottom:2vw;
}

.project_main_image.type_portrait {
	-ms-grid-columns: 7 / 13;
	grid-column:7 / 13;
}


.project_main_image img {
	width:100%;
	height:auto;
}

.project_description {
	-ms-grid-columns: 1 / 8;
	grid-column:1 / 8;
	padding-bottom:2vw;
	padding-right:2vw;
}

.project_credits {
	-ms-grid-columns: 8 / 11;
	grid-column:8 / 11;
	padding-bottom:2vw;
	padding-right:2vw;
}

.project_credits p {
	margin-bottom:0;
}

.projects_team {
	-ms-grid-columns: 11 / 13;
	grid-column:11 / 13;
	padding-bottom:2vw;
}

.projects_team .title_projects_team {
	margin-bottom:0.69vw;
}

.projects_team .team_preview {
	display:inline-block;
	width:4.44vw;
	height:4.44vw;
	border-radius:100%;
	margin-left:-1.04vw;
	-ms-transform: scale(1);
	-webkit-transform: scale(1);
	transform: scale(1);
	transform-origin: center center;
	-webkit-transform-origin: center center;
	-webkit-transition: -webkit-transform 0.4s var(--easing);
	transition: transform 0.4s var(--easing);
}

body.no_touch .projects_team .team_preview:hover {
	-ms-transform: scale(1.1);
	-webkit-transform: scale(1.1);
	transform: scale(1.1);
}

.projects_team .team_preview img {
	width:100%;
	height:100%;
	object-fit:cover;
	border-radius:100%;
	aspect-ratio:1 / 1;
}

.projects_team .team_preview.team_preview_0 {
	margin-left:0;
}

.team_member_2 {
	transform: translateY(208px);
}

/*------------------------------------------------------
FLEXIBLE CONTENT | DRAWINGS
------------------------------------------------------*/

.flexible_content_drawings .drawings {
	grid-column: 2;
	cursor:pointer;
	margin-top:40px;
}

.flexible_content_drawings .drawings .title_drawings_preview {
	position:relative;
	z-index:1;
}

.drawings_full_outer {
	display:none;
	width:100vw;
}

.drawings_full {
	display: -ms-grid;
	display: grid;
	grid-gap: var(--gap);
	grid-row-gap: 0px;
	grid-template-columns: repeat(var(--columns), 1fr);
	align-items: start;
}

/*------------------------------------------------------
FLEXIBLE CONTENT | TEAM
------------------------------------------------------*/

.flexible_content_team {
	display: -ms-grid;
	display: grid;
	grid-gap: var(--gap);
	grid-row-gap: 0px;
	-ms-grid-columns: 2 / 12;
	grid-column:2 / 12;
	grid-template-columns: repeat(3, 1fr);
	align-items: start;
}

.flexible_content_team .team_member {
	margin-bottom:87px;
}

.flexible_content_team .team_member.team_member_2 {
	text-align:center;
}

.flexible_content_team .team_member.team_member_3 {
	text-align:right;
}

.inside_team_member {
	display:inline-block;
	width:80%;
}

.flexible_content_team .team_member img {
	display:block;
	width:100%;
	height:auto;
}

.member_infos {
	display:block;
	text-align:left;
	margin-top:0.8vw;
}

.member_infos a:after {
	content:' ↗';
}

/*------------------------------------------------------
FLEXIBLE CONTENT | SLIDESHOW
------------------------------------------------------*/

.flexible_content_slideshow .swiper,
.flexible_content_slideshow .swiper .swiper-wrapper,
.flexible_content_slideshow .swiper .swiper-slide,
.flexible_content_slideshow .swiper .swiper-slide img {
	height:45vw;
}

.flexible_content_slideshow .swiper {
	width:100%;
}

.flexible_content_slideshow .swiper .swiper-slide {
	width:auto;
}

.flexible_content_slideshow .swiper .swiper-slide img {
	width:auto;
}

.paging_current {
	text-align:right;
	margin-top:10px;
	position: relative;
  	z-index: 10;
  	-webkit-touch-callout: none;
	-webkit-user-select: none;
	-khtml-user-select: none; 
	-moz-user-select: none;
	-ms-user-select: none;
	user-select: none;
}

.paging_current .prev,
.paging_current .next {
	display:inline-block;
	width:2.3vw;
	height:1.8vw;
	-webkit-transform: translateY(7px) translateX(0);
	transform: translateY(7px) translateX(0);
	-webkit-transition: -webkit-transform 0.2s var(--easing);
	transition: transform 0.2s var(--easing);
}

body.no_touch .paging_current .prev:hover {
	-webkit-transform: translateY(7px) translateX(-7px);
	transform: translateY(7px) translateX(-7px);
}

body.no_touch .paging_current .next:hover {
	-webkit-transform: translateY(7px) translateX(7px);
	transform: translateY(7px) translateX(7px);
}

.paging_current .prev {
	background:url('images/slideshow_arrow_left.svg') no-repeat center center;
	background-size:100% auto;
	margin-right:0.7vw;
}

.paging_current .next {
	background:url('images/slideshow_arrow_right.svg') no-repeat center center;
	background-size:100% auto;
	margin-left:0.7vw;
}

.paging_current .total {
	display:inline-block;
	height:1.8vw;
	line-height:1.8vw;
}

/*------------------------------------------------------
FLEXIBLE CONTENT | DATENSCHUTZ
------------------------------------------------------*/

.flexible_content_datenschutz {
	display: -ms-grid;
	display: grid;
	grid-gap: var(--gap);
	grid-row-gap: 0px;
	grid-template-columns: repeat(var(--columns), 1fr);
	align-items: start;
}

.flexible_content_datenschutz .datenschutz_title {
	-ms-grid-columns: 4 / 10;
	grid-column:4 / 10;
	text-align:center;
	margin-bottom:2.7vw;
}

.flexible_content_datenschutz .datenschutz_content {
	-ms-grid-columns: 6 / 13;
	grid-column:6 / 13;
	margin-bottom:2vw;
}

/*------------------------------------------------------
JOURNAL OVERVIEW
------------------------------------------------------*/

.page_journal .detail_page_inside .journal_preview {
	display: -ms-grid;
	display: grid;
	grid-gap: var(--gap);
	grid-row-gap: 0px;
	grid-template-columns: repeat(var(--columns), 1fr);
	align-items: start;
	padding-bottom:1.6vw;
	margin-botom:1.6vw;
	border-bottom:1px solid var(--font_color);
}

.page_journal .detail_page_inside .journal_preview {
	margin-top:1.6vw;
}

.page_journal .detail_page_inside .journal_preview img {
	width:100%;
	height:auto;
}

.journal_preview_image,
.journal_preview_text {
	-ms-grid-row: 1 / 1;
	grid-row:1 / 1;
}

/* Preview Left Landscape */

.page_journal .detail_page_inside .journal_preview:nth-child(odd) .journal_preview_image.type_landscape {
	-ms-grid-columns: 1 / 6;
	grid-column:1 / 6;
}

.page_journal .detail_page_inside .journal_preview:nth-child(odd) .journal_preview_text.type_landscape {
	-ms-grid-columns: 6 / 13;
	grid-column:6 / 13;
}

/* Preview Left Portrait */

.page_journal .detail_page_inside .journal_preview:nth-child(odd) .journal_preview_image.type_portrait {
	-ms-grid-columns: 1 / 5;
	grid-column:1 / 5;
}

.page_journal .detail_page_inside .journal_preview:nth-child(odd) .journal_preview_text.type_portrait {
	-ms-grid-columns: 5 / 13;
	grid-column:5 / 13;
}

/* Preview Right Landscape */

.page_journal .detail_page_inside .journal_preview:nth-child(even) .journal_preview_image.type_landscape {
	-ms-grid-columns: 8 / 13;
	grid-column:8 / 13;
}

.page_journal .detail_page_inside .journal_preview:nth-child(even) .journal_preview_text.type_landscape {
	-ms-grid-columns: 1 / 8;
	grid-column:1 / 8;
}

/* Preview Left Portrait */

.page_journal .detail_page_inside .journal_preview:nth-child(even) .journal_preview_image.type_portrait {
	-ms-grid-columns: 9 / 13;
	grid-column:9 / 13;
}

.page_journal .detail_page_inside .journal_preview:nth-child(even) .journal_preview_text.type_portrait {
	-ms-grid-columns: 1 / 9;
	grid-column:1 / 9;
}

.page_journal .date_author {
	margin-top:25px;
	margin-bottom:25px;
}

.page_journal .date_author .journal_preview_date {
	display:inline-flex;
	margin-right:15px;
}

.journal_author {
	display:inline-flex;
}

.journal_intro_text {
	width:80%;
}

.journal_intro_text a {
	-webkit-transition:color 0.4s var(--easing);
	transition:color 0.4s var(--easing);
}

body.no_touch .journal_intro_text a:hover {
	color:var(--color_grey);
}

.journal_intro_text a span {
	display:inline-block;
	-webkit-transform: translateX(0);
	transform: translateX(0);
	-webkit-transition: -webkit-transform 0.4s var(--easing);
	transition: transform 0.4s var(--easing);
}

body.no_touch .journal_intro_text a:hover span {
		-webkit-transform: translateX(4px);
	transform: translateX(4px);
}

/*------------------------------------------------------
PROJECT MAP
------------------------------------------------------*/

.detail_page.view_map .detail_page_inside {
	padding-top:0;
}

.detail_page.view_map .project_filter {
	margin-bottom:0;
}

.project_map {
	position:relative;
	width:100vw;
	height:100vh;
	cursor: grab;
	margin-left:var(--offset-minus);
	margin-right:var(--offset-minus);
}

#map:active { 
	cursor: grabbing; 
}

#map {
    position: absolute;
    top: 0;
    left: 0;
    display: inline-grid; 
    grid-template-columns: repeat(10, 20vw); 
    gap: 100px;
    padding: 3.4vw;
    transform-origin: 0 0;
    will-change: transform;
    visibility: hidden;
}

.map_preview_project {
    overflow: hidden; 
    user-select: none;
    background: var(--bg_color);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: left;
    text-align: center;
    pointer-events:none;
    -webkit-touch-callout: none;
	-webkit-user-select: none;
	-khtml-user-select: none; 
	-moz-user-select: none;
	-ms-user-select: none;
	user-select: none;
}

.map_preview_project * {
	-webkit-touch-callout: none;
	-webkit-user-select: none;
	-khtml-user-select: none; 
	-moz-user-select: none;
	-ms-user-select: none;
	user-select: none;
}


.map_preview_project.size_big {
    grid-column: span 2;
    grid-row: span 2; 
    width: 40vw; 
}

.map_preview_project.size_small {
    grid-column: span 1;
    grid-row: span 1;
    width: 20vw;
}

.map_preview_project img {
	width:100%;
	height:auto;
}

.map_preview_project a {
	pointer-events:all;
	display:block;
	text-align:left;
	margin-top:0.7vw;
}

.map_preview_project span.grey {
	color:var(--color_grey);
}

/*------------------------------------------------------
FOOTER
------------------------------------------------------*/

footer {
	background:var(--font_color);
	margin-left:var(--offset-minus);
	margin-right:var(--offset-minus);
	padding-left:var(--offset);
	padding-right:var(--offset);
	margin-top:11.1vw;
	display: -ms-grid;
	display: grid;
	grid-gap: var(--gap);
	grid-row-gap: 0px;
	grid-template-columns: repeat(var(--columns), 1fr);
	align-items: end;
}

.detail_page.active_map footer {
	display:none;
}

footer, footer a {
	color:#fff;
}

footer .section_address {
	padding-top:var(--offset);
	-ms-grid-columns: 5 / 13;
	grid-column:5 / 13;
	padding-bottom:11.1vw;
}

footer .section_phone_mail {
	-ms-grid-columns: 8 / 13;
	grid-column:8 / 13;
	padding-bottom:9.7vw;
}

footer .section_phone_mail a {
	display:table;
}

footer .logo {
	-ms-grid-columns: 1 / 10;
	grid-column:1 / 10;
	padding-bottom:2vw;
}

footer .logo img {
	width:100%;
	height:auto;
}

footer .footer_nav_social {
	-ms-grid-columns: 11 / 12;
	grid-column:11 / 12;
	padding-bottom:2vw;
}

footer .footer_nav {
	-ms-grid-columns: 12 / 13;
	grid-column:12 / 13;
	padding-bottom:2vw;
}

footer .footer_nav_social ul,
footer .footer_nav ul {
	list-style:none;
}

/*------------------------------------------------------
IE
------------------------------------------------------*/

.ie_message {
	display: none;
	padding: 10px;
}

.ie_message a {
	text-decoration: underline;
}

@media screen and (-ms-high-contrast: active), (-ms-high-contrast: none) {  
	.ie_message {
		display: block !important;
	}
   header, main, footer {
    display: none !important
   }
}

/*------------------------------------------------------
Media Queries
------------------------------------------------------*/

@media all and (max-width: 860px) and (min-width: 0) {

	:root {
	  --offset: 10px;
	  --offset-minus:  -10px;
	  --columns: 6;
	  --gap: 10px;
	}

	body {
		font-size:20px;
		line-height:21.5px;
	}

	h1, .project_listing_title, span.very_large_type {
		font-size:35px;
		line-height:35px;
	}

	h2, .large_type {
		font-size:20px;
		line-height:21.5px;
	}

	header .title_items,
	nav a.nav_item.active .animated_title span {
		display:block;
		font-size:45px;
		line-height:45px;
	}

	header .title_items.is_home .title_item.title_item_home, header .title_items .title_item.title_item_home.active, nav a.nav_item.nav_item_home.active .animated_title span {
		font-size:35px;
		line-height:35px;
		margin-top:10px;
	}

	.small_type, footer, footer a, footer .small_type, footer .large_type {
		font-size:14px;
		line-height:15px;
	}

	p {
		margin-bottom: 20px;
	}

	nav {
		left: -moz-calc(100vw - 115px - var(--offset));
		left: -webkit-calc(100vw - 115px - var(--offset));
		left: -o-calc(100vw - 115px - var(--offset));
		left: calc(100vw - 115px - var(--offset));
	}

	header .title_items {
		text-align:left;
	}

	header .title_items, nav a.nav_item.active .animated_title span {
		font-size:45px;
		line-height:45px;
	}

	.full_columns,
	.flexible_content.flexible_content_image.type_landscape.size_big.align_left,
	.flexible_content.flexible_content_image.type_landscape.size_big.align_right,
	.flexible_content.flexible_content_image.type_landscape.size_small.align_left,
	.flexible_content.flexible_content_image.type_landscape.size_small.align_right,
	.flexible_content.flexible_content_text.align_left,
	.flexible_content.flexible_content_text.align_right,
	.project_main_image,
	.project_description,
	.flexible_content_team,
	.flexible_content_team .team_member,
	.journal_preview_text,
	.journal_preview_image,
	.page_journal .detail_page_inside .journal_preview:nth-child(odd) .journal_preview_image.type_landscape,
	.page_journal .detail_page_inside .journal_preview:nth-child(odd) .journal_preview_text.type_landscape,
	.page_journal .detail_page_inside .journal_preview:nth-child(odd) .journal_preview_text.type_portrait,
	.page_journal .detail_page_inside .journal_preview:nth-child(even) .journal_preview_image.type_landscape,
	.page_journal .detail_page_inside .journal_preview:nth-child(even) .journal_preview_text.type_landscape,
	.page_journal .detail_page_inside .journal_preview:nth-child(even) .journal_preview_text.type_portrait,
	.flexible_content_datenschutz .datenschutz_content {
		-ms-grid-columns: 1 / 7;
		grid-column:1 / 7;
	}

	.project_listing, .flexible_content_drawings {
		grid-template-columns: repeat(1, 1fr);
	}

	/* Portrait Large Left */

	.flexible_content.flexible_content_image.type_portrait.size_big.align_left,
	.flexible_content.flexible_content_image.type_portrait.size_small.align_left {
		-ms-grid-columns: 1 / 6;
		grid-column:1 / 6;
	}

	/* Portrait Small Left */

	.flexible_content.flexible_content_image.type_portrait.size_small.align_left,
	.flexible_content.flexible_content_image.type_portrait.size_small.align_right {
		-ms-grid-columns: 3 / 7;
		grid-column:3 / 7;
	}

	.detail_page .detail_page_inside {
		padding-top:117px;
	}

	.detail_page.page_projekte .detail_page_inside,
	.detail_page.page_journal .detail_page_inside,
	.detail_page.default_page .detail_page_inside {
		padding-top:150px;
	}

	.project_listing .project_title {
		margin-bottom:30px;
	}

	.project_listing_title {
		padding-top:80px;
		padding-bottom:30px;
	}

	nav a {
		margin-bottom:0;
	}

	.project_view {
		display:none;
	}

	.project_filter .current_filter span.title_filter {
		display:block;
	}

	.project_filter .current_filter span.current {
		padding-right:25px;
	}

	.project_filter .current_filter span.current:after {
		margin-top:-6px;
		width:17px;
		height:12px;
		background:url('images/filter_arrow.svg') no-repeat center right;
		background-size:17px 12px;
	}

	.project_listing {
		display: -ms-grid;
  		display: grid;
	}

	.project_map.show {
		display:none;
	}

	.detail_page.view_map .current_filter, .detail_page.view_map .filter_listing {
		display:block;
	}

	.detail_page.view_map .project_filter {
		margin-bottom:80px;
	}

	.close_overlay {
		width:41px;
		height:41px;
	}

	.project_main_title {
		-ms-grid-columns: 1 / 5;
		grid-column: 1 / 5;
		text-align: center;
		padding-bottom: 35px;
		-ms-grid-row: 1 / 1;
		grid-row:1 / 1;
	}

	.project_main_image {
		-ms-grid-row: 2 / 2;
		grid-row:2 / 2;
		margin-bottom:40px;
	}

	.project_main_image.type_portrait {
		-ms-grid-columns: 2 / 7;
	  grid-column: 2 / 7;
	}

	.project_credits {
		-ms-grid-columns: 1 / 4;
  		grid-column: 1 / 4;
  		-ms-grid-row: 3 / 3;
		grid-row:3 / 3;
	}

	.projects_team {
		-ms-grid-columns: 4 / 7;
  		grid-column: 4 / 7;
  		-ms-grid-row: 3 / 3;
		grid-row:3 / 3;
	}

	.project_description {
		-ms-grid-row: 4 / 4;
		grid-row:4 / 4;
		padding-top:50px;
	}

	.projects_team .team_preview {
		width:50px;
		height:50px;
	}

	.projects_team .team_preview {
		margin-left:-15px;
	}

	.projects_team .title_projects_team {
		margin-bottom:5px;
	}

	.flexible_content {
		padding-bottom:20px;
	}

	.flexible_content_drawings .drawings {
		grid-column:1;
	}

	.flexible_content_team {
		grid-template-columns: repeat(2, 1fr);
	}

	.flexible_content_team .team_member {
		margin-bottom:60px;
	}

	.flexible_content_team .team_member {
		display: -ms-grid;
		display: grid;
		grid-gap: var(--gap);
		grid-row-gap: 0px;
		grid-template-columns: repeat(var(--columns), 1fr);
		align-items: start;
	}

	.flexible_content_team .team_member .inside_team_member {
		width:100%;
	}

	.flexible_content_team .team_member:nth-child(odd) .inside_team_member  {
		-ms-grid-columns: 2 / 7;
		grid-column:2 / 7;
	}

	.flexible_content_team .team_member:nth-child(even) .inside_team_member {
		-ms-grid-columns: 1 / 6;
		grid-column:1 / 6;
	}

	.member_infos {
		margin-top:10px;
	}

	.page_journal .detail_page_inside .journal_preview {
		margin-bottom:0;
		margin-top:18px;
		padding-bottom:20px;
	}

	.page_journal .detail_page_inside .journal_preview:first-child {
		border-top:1px solid var(--font_color);
	}

	.page_journal .detail_page_inside .journal_preview:first-child .journal_preview_text {
 		padding-top:18px;
	}

	.journal_preview_text {
		-ms-grid-row: 1 / 1;
 		grid-row: 1 / 1;
	}

	.journal_preview_image {
		-ms-grid-row: 2 / 2;
 		grid-row: 2 / 2;
	}

	.page_journal .detail_page_inside .journal_preview:nth-child(odd) .journal_preview_image.type_portrait,
	.page_journal .detail_page_inside .journal_preview:nth-child(even) .journal_preview_image.type_portrait {
		-ms-grid-columns: 2 / 7;
		grid-column:2 / 7;
	}

	.page_journal .date_author {
		margin-top:25px;
		margin-bottom:25px;
	}

	.journal_intro_text {
		width:100%;
		margin-bottom:30px;
	}

	.flexible_content_datenschutz .datenschutz_content {
		margin-bottom:25px;
	}

	.flexible_content_datenschutz .datenschutz_title {
		margin-bottom:45px;
	}

	.flexible_content_datenschutz .datenschutz_title {
		-ms-grid-columns: 2 / 6;
		grid-column:2 / 6;
	}

	.flexible_content_slideshow .swiper,
	.flexible_content_slideshow .swiper .swiper-wrapper,
	.flexible_content_slideshow .swiper .swiper-slide,
	.flexible_content_slideshow .swiper .swiper-slide img {
		height:60vw;
	}

	.paging_current .prev,
	.paging_current .next {
		width:28px;
		height:20px;
		-webkit-transform: translateY(3px) translateX(0);
		transform: translateY(3px) translateX(0);
	}

	.paging_current .prev {
		background:url('images/slideshow_arrow_left.svg') no-repeat center center;
		background-size:100% auto;
		margin-right:10px;
	}

	.paging_current .next {
		background:url('images/slideshow_arrow_right.svg') no-repeat center center;
		background-size:100% auto;
		margin-left:10px;
	}

	.paging_current .total {
		display:inline-block;
		height:20px;
		line-height:20px;
	}

	header .title_items .title_item.title_item_datenschutz.active {
		max-width:60%;
		overflow-wrap: break-word;
		-webkit-hyphens: auto;
		-moz-hyphens: auto;
		hyphens: auto;
		hyphenate-limit-chars: 6 3 2;
		hyphenate-limit-last: always;
	}

	footer .section_address,
	footer .section_phone_mail {
		-ms-grid-columns: 3 / 7;
  		grid-column: 3 / 7;
	}

	footer .footer_nav_social,
	footer .footer_nav {
		-ms-grid-columns: 5 / 7;
  		grid-column: 5 / 7;
	}

	footer .logo {
		display:block;
		width:90px;
		height:543px;
		background:url('images/footer_mobile_logo.svg') no-repeat center center;
		position:absolute;
		left:0;
		bottom:15px;
	}

	footer .logo img {
		display:none;
	}

	footer .section_phone_mail {
		-ms-grid-row: 1 / 1;
		grid-row:1 / 1;
		padding-top:25px;
		padding-bottom:15px;
	}

	footer .section_address {
		-ms-grid-row: 2 / 2;
		grid-row:2 / 2;
		padding-bottom:385px;
	}

	footer .footer_nav_social {
		padding-bottom:25px;
		-ms-grid-row: 3 / 3;
		grid-row:3 / 3;
	}

	footer .footer_nav {
		padding-bottom:15px;
		-ms-grid-row: 4 / 4;
		grid-row:4 / 4;
	}

	.team_member_2 {
		transform: translateY(0);
	}

	.project_main_title {
		text-align:left;
	}

	.project_listing .project_image_middle img, .flexible_content_drawings .plan_image_middle img {
		width: -moz-calc(100% - 20vw);
		width: -webkit-calc(100% - 20vw);
		width: -o-calc(100% - 20vw);
		width: calc(100% - 20vw);
		height: -moz-calc(100% - 3.6vw);
		height: -webkit-calc(100% 3.6vw 3.6vw);
		height: -o-calc(100% - 52px);
		height: calc(100% - 7.2vw);
		padding: 3.6vw 10vw;
	}


}