/*
Theme Name: Lumbra
Theme URI: https://lumbra.ch
Description: Custom Theme for Lumbra
Author: Roger Burkhard
Author URI: http://www.rogerburkhard.com
*/

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

:root {
  --offset: clamp(20px, 1.9vw, 26px);
  --offset-minus:  clamp(-20px, -1.9vw, -26px);
  --max_width: 100%;
  --columns: 14;
  --gap: 16px;
  --baseline: 0;
  --baseline-offset: 0;
  --font_color_bright: #fff;
  --font_color_dark: #000;
  --color_light_grey:#616469;
  --color_dark_grey:#292929;
  --color_bright_yellow:#EBEBDE;
  --color_beige:#BCBCB0;

  --color_yellow:#FFEB00;
  --color_violet:#432FB0;

  --color_light_grey_difference:#9E8769;
  --color_dark_grey_difference:#D6C229;
  --color_bright_yellow_difference:#1400DE;
  --color_beige_difference:#432FB0;

  --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;
}

a:focus, button:focus, input:focus, div:focus, h1:focus, h2:focus, h3:focus, h4:focus, h5:focus, img:focus {
    outline: 2px dotted var(--font_color) !important;
}

*:focus:not(:focus-visible)
#overlay:focus {
	outline: 0 !important;
}

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

@font-face {
    font-family: 'ABC Schengen Regular';
    src: url('styles/fonts/ABCSchengenA-Regular.woff2') format('woff2'),
         url('styles/fonts/ABCSchengenA-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
------------------------------------------------------*/

body.no_touch, body.no_touch * {
	cursor:none !important;
}

html {
	width: 100%;
	height: 100%;
	background: #000;
	margin:0 !important;
	-webkit-text-size-adjust: 100%;
	-webkit-transition:background 0.8s var(--easing), color 0.8s var(--easing);
	transition:background 0.8s var(--easing), color 0.8s var(--easing);
}

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) !important;
	font-family: 'ABC Schengen Regular', Helvetica, Arial, Verdana, sans-serif;
	font-size:clamp(16px, 1.46vw, 20px);
	line-height:clamp(20px, 1.83vw, 25px);
	color: var(--font_color_bright);
	overflow-x: hidden;
	min-width: 320px;
	-webkit-font-smoothing: antialiased;
	-moz-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	font-smoothing: antialiased;
	border-top: env(safe-area-inset-top) solid #000000;
	border-bottom: env(safe-area-inset-bottom) solid #000000;
	-webkit-transition:background 0.8s var(--easing), color 0.8s var(--easing);
	transition:background 0.8s var(--easing), color 0.8s var(--easing);
}

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 {
  text-shadow: 0px 0px 15px #ffeb00;
  color:var(--font_color_dark);
}

::-moz-selection {
  text-shadow: 0px 0px 15px #ffeb00;
 color:var(--font_color_dark);
}

a::selection {
	color:var(--color_yellow) !important;
}

a::-moz-selection {
	color:var(--color_yellow) !important;
}

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

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

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

h1, h2, quote {
	font-size:clamp(28px, 3.66vw, 50px);
	line-height:clamp(35px, 4.6vw, 63px);
}

p {
	margin-bottom:clamp(20px, 1.9vw, 26px);
}

b, strong {
	font-weight: bold;
}

/*------------------------------------------------------
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 div {
	max-width:100% !important;
}

.wysiwig_content .wp-caption-text {
	margin-top:10px;
}

.wysiwig_content a {
	text-decoration: underline;
	text-decoration-thickness: 1px;
	text-underline-offset: 3px;
}

.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 ol {
	margin-left: 0;
    padding-left: 1em;
}

.wysiwig_content hr {
	border:none;
	height: 1px;
	background:var(--font_color);
	margin-bottom:20px;
}

.wysiwig_content a {
	display:inline-block;
	text-decoration: underline;
	text-decoration-thickness: 1px;
	text-underline-offset: 3px;
	text-shadow: 0px 0px 15px transparent;
	transform: translate3d(0,0,0);
	-ms-transform: scale(1);
	-webkit-transform: scale(1);
	transform: scale(1);
	transform-origin: center center;
	-webkit-transform-origin: center center;
	-webkit-transition: all 0.5s var(--easing);
	transition: all 0.5s var(--easing);
}

body.no_touch .wysiwig_content a.call_to_action:hover {
	-ms-transform: scale(1.2);
	-webkit-transform: scale(1.2);
	transform: scale(1.2);
}

.wysiwig_content quote {
	display:block;
	margin-bottom:clamp(20px, 1.9vw, 26px);
}

/*------------------------------------------------------
CUSTOM CURSOR
------------------------------------------------------*/

.cursor {
	display: none;
	opacity: 0;
	position: fixed;
	width:clamp(20px, 2.9vw, 40px);
	height:clamp(20px, 2.9vw, 40px);
	background:#fff;
	border-radius:50%;
	z-index: 10000;
	pointer-events:none;
	filter: drop-shadow(0px 0px 15px #ffeb00);
	mix-blend-mode: difference;
	transform: translate3d(0,0,0); // Safari
	-webkit-transition: -webkit-transform 0.3s var(--easing);
	transition: transform 0.3s var(--easing);
}

body.is_touch .cursor,
body.is_touch .cursor_label {
	display:none !important;
}

.cursor_label {
	display:inline-block;
	position: fixed;
	top: 0;
	left: 0;
	z-index: 9999;
	pointer-events: none;
	opacity: 0;
	transition: opacity 0.2s;
	mix-blend-mode: difference;
	transform: translate3d(0,0,0);
	color: #fff;
	white-space: nowrap;
	transform: translateX(-50%);
	text-align: center;
}

/*------------------------------------------------------
PAGE TRANSITIONS
------------------------------------------------------*/

/* Leave */

.detail_page {
	max-width: 1600px;
	margin:0 auto;
	opacity:0;
	-webkit-transition:opacity 0.8s linear;
	transition: opacity 0.8s linear;
}

.detail_page.show {
	opacity:1;
}

/*------------------------------------------------------
COLORS TEMPLATE
------------------------------------------------------*/

/* 0 - 6 Uhr */

html.time_0_6,
html.time_0_6 body,
html.time_0_6 .text_kontakt,
html.time_0_6 footer .dimmer {
	background:var(--color_light_grey);
}

html.time_0_6 .wysiwig_content a.call_to_action,
html.time_0_6 body.no_touch .wysiwig_content a:hover,
html.time_0_6 body.no_touch .wysiwig_content a.call_to_action:hover,
html.time_0_6 body.no_touch .wysiwig_content a:hover,
html.time_0_6 body.no_touch .wysiwig_content a.call_to_action:hover,
html.time_0_6 body.no_touch .project_overview .project_preview_outer:hover .project_title_preview,
html.time_0_6 body.no_touch .project_overview .project_preview_outer:hover .project_title_preview,
html.time_0_6 header ul li a.active_nav,
html.time_0_6 body.no_touch footer a:hover {
	text-shadow: 0px 0px 15px var(--color_light_grey_difference);
}

html.time_0_6 .pagination .pagination_left a:hover,
html.time_0_6 .pagination .pagination_right a:hover,
html.time_0_6 .pagination .pagination_center a:hover {
	filter: drop-shadow(0px 0px 15px var(--color_light_grey_difference));
}

html.time_0_6 ::selection {
  text-shadow: 0px 0px 15px var(--color_light_grey_difference);
  color:var(--font_color_bright);
}

html.time_0_6  ::-moz-selection {
  text-shadow: 0px 0px 15px var(--color_light_grey_difference);
 color:var(--font_color_bright);
}

html.time_0_6  a::selection {
	color:var(--font_color_bright) !important;
}

html.time_0_6  a::-moz-selection {
	color:var(--font_color_bright) !important;
}

@media all and (max-width: 960px) and (min-width: 0) {
	html.time_0_6 header {
		background:var(--color_light_grey);
	}
}

/* 6 - 12 Uhr */

html.time_6_12,
html.time_6_12 body,
html.time_6_12 .text_kontakt,
html.time_6_12 footer .dimmer  {
	background:var(--color_bright_yellow);
}

html.time_6_12 .wysiwig_content a.call_to_action,
html.time_6_12 body.no_touch .wysiwig_content a:hover,
html.time_6_12 body.no_touch .wysiwig_content a.call_to_action:hover,
html.time_6_12 body.no_touch .wysiwig_content a:hover,
html.time_6_12 body.no_touch .wysiwig_content a.call_to_action:hover,
html.time_6_12 body.no_touch .project_overview .project_preview_outer:hover .project_title_preview,
html.time_6_12 body.no_touch .project_overview .project_preview_outer:hover .project_title_preview,
html.time_6_12 header ul li a.active_nav,
html.time_6_12 body.no_touch footer a:hover {
	text-shadow: 0px 0px 15px var(--color_bright_yellow_difference);
}

html.time_6_12 .pagination .pagination_left a:hover,
html.time_6_12 .pagination .pagination_right a:hover,
html.time_6_12 .pagination .pagination_center a:hover{
	filter: drop-shadow(0px 0px 15px var(--color_bright_yellow_difference));
}

html.time_6_12 ::selection {
  text-shadow: 0px 0px 15px var(--color_bright_yellow_difference);
  color:var(--font_color_dark);
}

html.time_6_12  ::-moz-selection {
  text-shadow: 0px 0px 15px var(--color_bright_yellow_difference);
 color:var(--font_color_dark);
}

html.time_6_12  a::selection {
	color:var(--font_color_dark) !important;
}

html.time_6_12  a::-moz-selection {
	color:var(--font_color_dark) !important;
}


@media all and (max-width: 960px) and (min-width: 0) {
	html.time_6_12 header {
		background:var(--color_bright_yellow);
	}
}

/* 12 - 18 Uhr */

html.time_12_18,
html.time_12_18 body,
html.time_12_18 .text_kontakt,
html.time_12_18 footer .dimmer {
	background:var(--color_beige);
}

html.time_12_18 .wysiwig_content a.call_to_action,
html.time_12_18 body.no_touch .wysiwig_content a:hover,
html.time_12_18 body.no_touch .wysiwig_content a.call_to_action:hover,
html.time_12_18 body.no_touch .wysiwig_content a:hover,
html.time_12_18 body.no_touch .wysiwig_content a.call_to_action:hover,
html.time_12_18 body.no_touch .project_overview .project_preview_outer:hover .project_title_preview,
html.time_12_18 body.no_touch .project_overview .project_preview_outer:hover .project_title_preview,
html.time_12_18 header ul li a.active_nav,
html.time_12_18 body.no_touch footer a:hover {
	text-shadow: 0px 0px 15px var(--color_beige_difference);
}

html.time_12_18 .pagination .pagination_left a:hover,
html.time_12_18 .pagination .pagination_right a:hover,
html.time_12_18 .pagination .pagination_center a:hover {
	filter: drop-shadow(0px 0px 15px var(--color_beige_difference));
}

html.time_12_18 ::selection {
  text-shadow: 0px 0px 15px var(--color_beige_difference);
  color:var(--font_color_dark);
}

html.time_12_18  ::-moz-selection {
  text-shadow: 0px 0px 15px var(--color_bright_yellow_difference);
 color:var(--font_color_dark);
}

html.time_12_18  a::selection {
	color:var(--font_color_dark) !important;
}

html.time_12_18  a::-moz-selection {
	color:var(--font_color_dark) !important;
}

@media all and (max-width: 960px) and (min-width: 0) {
	html.time_12_18 header {
		background:var(--color_beige);
	}
}

/* 18 - 00 Uhr */

html.time_18_0,
html.time_18_0 body,
html.time_18_0 .text_kontakt,
html.time_18_0 footer .dimmer {
	background:var(--color_dark_grey);
}

html.time_18_0 .wysiwig_content a.call_to_action,
html.time_18_0 body.no_touch .wysiwig_content a:hover,
html.time_18_0 body.no_touch .wysiwig_content a.call_to_action:hover,
html.time_18_0 body.no_touch .wysiwig_content a:hover,
html.time_18_0 body.no_touch .wysiwig_content a.call_to_action:hover,
html.time_18_0 body.no_touch .project_overview .project_preview_outer:hover .project_title_preview,
html.time_18_0 body.no_touch .project_overview .project_preview_outer:hover .project_title_preview,
html.time_18_0 header ul li a.active_nav,
html.time_18_0 body.no_touch footer a:hover {
	text-shadow: 0px 0px 15px var(--color_dark_grey_difference);
}

html.time_18_0 .pagination .pagination_left a:hover,
html.time_18_0 .pagination .pagination_right a:hover,
html.time_18_0 .pagination .pagination_center a:hover {
	filter: drop-shadow(0px 0px 15px var(--color_dark_grey_difference));
}

html.time_18_0 ::selection {
  text-shadow: 0px 0px 15px var(--color_dark_grey_difference);
  color:var(--font_color_bright);
}

html.time_18_0  ::-moz-selection {
  text-shadow: 0px 0px 15px var(--color_dark_grey_difference);
 color:var(--font_color_bright);
}

html.time_18_0  a::selection {
	color:var(--font_color_bright) !important;
}

html.time_18_0  a::-moz-selection {
	color:var(--font_color_bright) !important;
}

@media all and (max-width: 960px) and (min-width: 0) {
	html.time_18_0 header {
		background:var(--color_dark_grey);
	}
}

html.time_0_6,
html.time_0_6 body,
html.time_0_6 a,
html.time_18_0,
html.time_18_0 body,
html.time_18_0 a {
	color:var(--font_color_bright);
}

html.time_6_12,
html.time_6_12 body,
html.time_6_12 a,
html.time_12_18,
html.time_12_18 body,
html.time_12_18 a {
	color:var(--font_color_dark);
}

html.time_0_6 .logo,
html.time_18_0 .logo,
html.time_0_6 a.footer_logo,
html.time_18_0 a.footer_logo {
	background:url('images/logo_bright.svg') no-repeat center center;
	background-size:contain;
}

html.time_6_12 .logo,
html.time_12_18 .logo,
html.time_6_12 a.footer_logo,
html.time_12_18 a.footer_logo  {
	background:url('images/logo_dark.svg') no-repeat center center;
	background-size:contain;
}

html.time_0_6 footer .circles .circle.circle_4,
html.time_18_0 footer .circles .circle.circle_4 {
	display:inline-block;
}

html.time_6_12 footer .circles .circle.circle_1,
html.time_12_18 footer .circles .circle.circle_1 {
	display:inline-block;
}

html.time_0_6 .pagination .pagination_left a,
html.time_18_0 .pagination .pagination_left a {
	background:transparent url('images/arrow_left_bright.svg') no-repeat center center;
	background-size:8px auto;
}

html.time_0_6 .pagination .pagination_right a,
html.time_18_0 .pagination .pagination_right a {
	background:transparent url('images/arrow_right_bright.svg') no-repeat center center;
	background-size:8px auto;
}

html.time_6_12 .pagination .pagination_left a,
html.time_12_18 .pagination .pagination_left a {
	background:transparent url('images/arrow_left_dark.svg') no-repeat center center;
	background-size:8px auto;
}

html.time_6_12 .pagination .pagination_right a,
html.time_12_18 .pagination .pagination_right a {
	background:transparent url('images/arrow_right_dark.svg') no-repeat center center;
	background-size:8px auto;
}

html.time_0_6 .pagination .pagination_left a,
html.time_0_6 .pagination .pagination_right a,
html.time_18_0 .pagination .pagination_left a,
html.time_18_0 .pagination .pagination_right a  {
	border:1px solid var(--font_color_bright);
}

html.time_6_12 .pagination .pagination_left a,
html.time_6_12 .pagination .pagination_right a,
html.time_12_18 .pagination .pagination_left a,
html.time_12_18 .pagination .pagination_right a  {
	border:1px solid var(--font_color_dark);
}

/*------------------------------------------------------
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 / 15;
	grid-column:1 / 15;
}

/*------------------------------------------------------
DETAIL PAGE
------------------------------------------------------*/

.detail_page {
	min-height: -moz-calc(100vh - 188px);
	min-height: -webkit-calc(100vh - 188px);
	min-height: -o-calc(100vh - 188px);
	min-height: calc(100vh - 188px);
	margin-bottom:100px;
}

.detail_page .headline {
	-ms-grid-columns: 2 / 10;
	grid-column:2 / 10;
	-ms-grid-row: 1 / 1;
	grid-row:1 / 1;
	margin-top:clamp(186px, 21.9vw, 300px);
}

.detail_page .subline {
	-ms-grid-columns: 10 / 14;
	grid-column:10 / 14;
	-ms-grid-row: 2 / 2;
	grid-row:2 / 2;
	margin-top:clamp(-28.6px, -3.2vw, -44px);
}

.detail_page .subline a {
	text-decoration: underline;
	text-decoration-thickness: 1px;
	text-underline-offset: 3px;
}

.detail_page .text_kontakt {
	-ms-grid-columns: 2 / 10;
	grid-column:2 / 10;
	-webkit-transition:background 0.8s var(--easing);
	transition:background 0.8s var(--easing);
}

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

header {
	position:fixed;
	top:20px;
	left:var(--offset);
	right:var(--offset);
}

header ul {
	  display: flex;
	  justify-content: space-between;
	  list-style: none;
}

header ul li a,
footer a {
	display:inline-block;
	color:#fff;
	text-shadow: 0px 0px 15px transparent;
	-ms-transform: scale(1);
	-webkit-transform: scale(1);
	transform: scale(1);
	transform-origin: center center;
	-webkit-transform-origin: center center;
	-webkit-transition: all 0.5s var(--easing);
	transition: all 0.5s var(--easing);
}

body.no_touch header ul li a:hover,
body.no_touch footer a:hover {
	-ms-transform: scale(1.2);
	-webkit-transform: scale(1.2);
	transform: scale(1.2);
}

header .mobile_only {
	display:none;
}

/*------------------------------------------------------
HOME
------------------------------------------------------*/

.logo_section {
	height: -moz-calc(100vh - 96px);
	height: -webkit-calc(100vh - 96px);
	height: -o-calc(100vh - 96px);
	height: calc(100vh - 96px);	
	display: flex;
	justify-content: center;
	align-items: center;
	flex-direction: column;
}

.logo_section .logo {
	width:clamp(194px, 26.6vw, 364px);
	height:clamp(37px, 5vw, 69px);
	margin-bottom:clamp(10px , 0.8vw, 12px);
}

.logo_section .logo_byline {
	text-align:center
}

.highlights.subgrid {
	display: -ms-grid;
	display: grid;
	grid-gap: var(--gap);
	grid-row-gap: 0px;
	-ms-grid-columns: 2 / 14;
	grid-column:2 / 14;
	grid-template-columns: repeat(2, 1fr);
	align-items: start;
	margin-bottom:80px;
}

.highlights.subgrid a.highlight_preview {
	display:block;
	aspect-ratio: 5 / 4;
	width:100%;
}

.highlights.subgrid .mobile_only {
	display:none;
}

.intro_text {
	-ms-grid-columns: 8 / 13;
	grid-column:8 / 13;
}

/*------------------------------------------------------
PROJEKTE
------------------------------------------------------*/

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

.page_projects .project_overview .project_preview_outer {
	margin-bottom:80px;
}

.page_projects .project_overview .project_preview {
	display:block;
	aspect-ratio:5 / 4;
	width:100%;
}

.page_projects .project_overview .project_preview_outer_2 .project_preview,
.page_projects .project_overview .project_preview_outer_4 .project_preview,
.page_projects .project_overview .project_preview_outer_8 .project_preview {
	aspect-ratio:4 / 5;
}

.page_projects .project_overview .project_preview_outer_1,
.page_projects .project_overview .project_preview_outer_4,
.page_projects .project_overview .project_preview_outer_7 {
	-ms-grid-columns: 2 / 5;
	grid-column:2 / 5;
}

.page_projects .project_overview .project_preview_outer_2,
.page_projects .project_overview .project_preview_outer_5,
.page_projects .project_overview .project_preview_outer_7 {
	-ms-grid-columns: 6 / 9;
	grid-column:6 / 9;
}

.page_projects .project_overview .project_preview_outer_3,
.page_projects .project_overview .project_preview_outer_6,
.page_projects .project_overview .project_preview_outer_8 {
	-ms-grid-columns: 10 / 13;
	grid-column:10 / 13;
}

.page_projects .project_title_preview {
	display:block;
	margin-top:22px;
}

.project_overview .project_preview_outer .project_title_preview,
.project_overview .project_preview_outer .project_preview {
	display:inline-block;
	-ms-transform: scale(1);
	-webkit-transform: scale(1);
	transform: scale(1);
	transform-origin: center center;
	-webkit-transform-origin: center center;
	-webkit-transition: all 0.5s var(--easing);
	transition: all 0.5s var(--easing);
}

.project_overview .project_preview_outer .project_title_preview {
	text-shadow: 0px 0px 15px transparent;
}

body.no_touch .wysiwig_content a.call_to_action:hover,
body.no_touch .project_overview .project_preview_outer:hover .project_title_preview {
	-ms-transform: scale(1.2);
	-webkit-transform: scale(1.2);
	transform: scale(1.2);
}

.project_overview .project_preview_outer:hover .project_preview {
	-ms-transform: scale(1.05);
	-webkit-transform: scale(1.05);
	transform: scale(1.05);
}

/*------------------------------------------------------
PROJECT DETAIL
------------------------------------------------------*/

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

.project_detail_two_columns .column_left,
.infos_two_columns .infos_two_columns_column_left {
	-ms-grid-columns: 2 / 9;
	grid-column:2 / 9;
	top:80px;
	position:sticky;
}

.project_detail_two_columns .column_right,
.infos_two_columns .infos_two_columns_column_right {
	-ms-grid-columns: 10 / 15;
	grid-column:10 / 15;
}

.project_detail_two_columns .swiper-slide img {
	display:block;
	width:100% !important;
	height:100%;
}

.project_detail_two_columns .swiper-slide.type_landscape img {
	aspect-ratio:5 / 4;
	object-fit: cover;
}

.project_detail_two_columns .swiper-slide.type_portrait img  {
	aspect-ratio:5 / 4;
	object-fit: contain;
}

.swiper-button-prev,
.swiper-button-next {
	background:transparent;
	position:absolute;
	top:0;
	bottom:0;
	width:50%;
	height:100%;
	margin-top:0;
}

.swiper-button-prev {
	left:0;
}

.swiper-button-next {
	right:0;
}

.swiper-button-prev::after,
.swiper-button-next::after {
	display:none;
}

.project_detail_two_columns .column_right h2,
.infos_two_columns h2 {
	margin-bottom:60px;
}

.project_detail_two_columns .column_right .wysiwig_content p:last-child {
	margin-bottom:0;
}

.pagination {
	display: -ms-grid;
	display: grid;
	grid-gap: var(--gap);
	grid-row-gap: 0px;
	-ms-grid-columns: 1 / 8;
	grid-column:1 / 8;
	grid-template-columns: repeat(3, 1fr);
	align-items: start;
	margin-top:40px;
	overflow:visible;
}

.pagination .pagination_left {
	text-align:left;
	overflow:visible;
}

.pagination .pagination_right {
	text-align:right;
	overflow:visible;
}

.pagination .pagination_center a {
	position:relative;
	line-height:32px;
	overflow:visible;
	filter: drop-shadow(0px 0px 15px transparent);
	-webkit-transition:all 0.5s var(--easing);
	transition:all 0.5s var(--easing);
}

.pagination .pagination_left a,
.pagination .pagination_right a {
	display:inline-block;
	width:32px;
	height:32px;
	border-radius:50%;
	background:transparent;
	-ms-transform: scale(1);
	-webkit-transform: scale(1);
	transform: scale(1);
	transform-origin: center center;
	-webkit-transform-origin: center center;
	filter: drop-shadow(0px 0px 15px transparent);
	-webkit-transition:all 0.3s var(--easing);
	transition:all 0.3s var(--easing);
}

body.no_touch .pagination .pagination_left a:hover,
body.no_touch .pagination .pagination_right a:hover {
	-ms-transform: scale(1.2);
	-webkit-transform: scale(1.2);
	transform: scale(1.2);
}

.pagination .pagination_left a {
	left:0;
}

.pagination .pagination_right a {
	right:0;
}

.pagination .pagination_right a:hover {
	right:0;
}

.pagination .pagination_right {
	text-align:right;
}

/*------------------------------------------------------
INFOS
------------------------------------------------------*/

.info_img {
	width:100%;
	aspect-ratio:5 / 4;
	height:auto;
	object-fit: cover;
}

.infos_two_columns.text_only .infos_two_columns_column_left {
	-ms-grid-columns: 2 / 7;
	grid-column:2 / 7;
}

.infos_two_columns.text_only .infos_two_columns_column_right {
	-ms-grid-columns: 10 / 15;
	grid-column:10 / 15;
}

/*------------------------------------------------------
KONTAKT
------------------------------------------------------*/

.page_kontakt h2 a[href^="mailto:"] {
	text-decoration: underline;
	text-decoration-thickness: 2px;
	text-underline-offset: 4px;
}

.page_kontakt .subline a {
	text-decoration:none;
}

/*------------------------------------------------------
DEFAULT
------------------------------------------------------*/

.page_default {
	padding-top:300px;
}

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

.page_default .section_column_left,
.page_default .section_column_right {
	margin-bottom:230px;
}

.page_default .section_column_left {
	-ms-grid-columns: 2 / 7;
	grid-column:2 / 7;
	overflow-wrap: break-word;
	-webkit-hyphens: auto;
	-moz-hyphens: auto;
	hyphens: auto;
	hyphenate-limit-chars: 6 3 2;
	hyphenate-limit-last: always;
}

.page_default .section_column_right {
	-ms-grid-columns: 7 / 14;
	grid-column:7 / 14;
}

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

footer {
	display: flex;
	justify-content: space-between;
	list-style: none;
	padding-bottom:0;
	text-align:center;
	padding-top:40px;
	overflow:hidden;
	margin-left:var(--offset-minus);
	margin-right:var(--offset-minus);
	padding-left:var(--offset);
	padding-right:var(--offset);
}

footer .dimmer {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  -webkit-transform: translateY(0);
  transform: translateY(0);
  overflow:visible;
  padding:0 60px;
  padding-bottom: env(safe-area-inset-bottom);
  -webkit-transition: -webkit-transform 0.5s cubic-bezier(0.16, 1, 0.3, 1), background 0.8s var(--easing);
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1), background 0.8s var(--easing);
}

footer .dimmer.active {
	-webkit-transform: translateY(-40px);
	transform: translateY(-40px);
}

footer .dimmer a.footer_logo {
	display:inline-block;
	position:absolute;
	top:-23px;
	left:5px;
	right:0;
	margin-left:auto;
	margin-right:auto;
	width:90px;
	height:17px;
	transform: translate3d(0,0,0);
	-ms-transform: scale(1);
	-webkit-transform: scale(1);
	transform: scale(1);
	transform-origin: center center;
	-webkit-transform-origin: center center;
	-webkit-transition: all 0.5s var(--easing);
	transition: all 0.5s var(--easing);
}

body.home footer .dimmer a.footer_logo {
	display:none;
}

body.no_touch footer .dimmer a.footer_logo:hover {
	-ms-transform: scale(1.2);
	-webkit-transform: scale(1.2);
	transform: scale(1.2);
}

footer .dimmer .circles {
	display: flex;
	flex-direction: row;
	justify-content: center;
	align-items: center;
}

footer .dimmer.inactive .circles {
	pointer-events:none;
}

footer .circles .circle {
	display:none;
	width:32px;
	height:32px;
	border-radius:50%;
	border:1px solid rgba(255,255,255,0.5);
	margin:10px 4px -20px 4px;
	-ms-transform: scale(1);
	-webkit-transform: scale(1);
	transform: scale(1);
	-webkit-transition: margin 0.4s var(--easing), -webkit-transform 0.5s var(--easing);
	transition: margin 0.4s var(--easing), transform 0.5s var(--easing);
}

body.no_touch footer .circles .circle:hover {
	-ms-transform: scale(1.2);
	-webkit-transform: scale(1.2);
	transform: scale(1.2);
}

footer .circles.inactive .circle {
	-webkit-transition: -webkit-transform 0.5s ease-out;
	transition: transform 0.5s ease-out;
}

footer .circles .circle.circle_1 {
	background:var(--color_dark_grey);
}

footer .circles .circle.circle_2 {
	background:var(--color_light_grey);
}

footer .circles .circle.circle_3 {
	background:var(--color_beige);
}

footer .circles .circle.circle_4 {
	background:var(--color_bright_yellow);
}

footer .dimmer.active .circles .circle {
	display:inline-flex;
}

/*------------------------------------------------------
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
   }
}

/*------------------------------------------------------
TABLET
------------------------------------------------------*/

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

	.highlights.subgrid {
		-ms-grid-columns: 1 / 15;
		  grid-column: 1 / 15;
	}

	.intro_text {
		-ms-grid-columns: 8 / 15;
		  grid-column: 8 / 15;
	}

	.detail_page .subline {
		-ms-grid-columns: 10 / 15;
		  grid-column: 10 / 15;
	}

}

/*------------------------------------------------------
MOBILE
------------------------------------------------------*/

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

	:root {
	  --columns: 5;
	  --gap: 16px;
	}

	.full_columns,
	.highlights.subgrid,
	.detail_page .headline,
	.detail_page .text_kontakt,
	.project_detail_two_columns .column_left, 
	.infos_two_columns .infos_two_columns_column_left,
	.project_detail_two_columns .column_right, 
	.infos_two_columns .infos_two_columns_column_right,
	.infos_two_columns.text_only .infos_two_columns_column_left,
	.infos_two_columns.text_only .infos_two_columns_column_right {
		-ms-grid-columns: 1 / 6;
		grid-column:1 / 6;
	}

	.highlights.subgrid {
		grid-template-columns: repeat(1, 1fr);
	}

	.highlights.subgrid .highlight_outer {
		margin-bottom:50px;
	}

	.highlights.subgrid .mobile_only {
		display:block;
		margin-top:15px;
	}

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

	a.footer_link_left,
	a.footer_link_right {
		display:none;
	}

	footer {
		display:block;
		text-align:center;
	}

	header {
		display:none;
		mix-blend-mode: normal;
		top:0;
		left:0;
		right:0;
		width:100%;
		height:100%;
		position:fixed;
		z-index:100;
	}

	nav {
		position:absolute;
		top:0;
		left:0;
		right:0;
		bottom:0;
		z-index:10000;
	}

	nav ul.nav-menu {
		display: flex;
		justify-content: center;
		align-items: center;
		width:100%;
		height:100%;
		justify-content: center;
		flex-direction: column;
	}

	nav ul.nav-menu li {
		display:block;
		margin-bottom:25px;
	}

	nav ul.nav-menu li a {
		font-size:clamp(28px, 3.66vw, 50px);
		line-height:clamp(35px, 4.6vw, 63px);
	}

	nav .mobile_only {
		display: flex;
	    position: absolute;
	    bottom: 15px;
	    left: var(--offset);
	    right: var(--offset);
	    z-index: 1000;
	}

	nav .mobile_only  .footer_logo {
		width:54px;
		height:10px;
		-webkit-transform: translateY(-2px);
		transform: translateY(-2px);
	}

	a.hamburger {
		display: block;
		position:fixed;
		cursor:pointer;
		top: env(safe-area-inset-top);
		left:50%;
		width: 54px;
		height: 54px;
		margin-top:0;
		border-radius: 50%;
		border: 1px solid rgba(255,255,255,0.5);
		margin-left:-27px;
		transform: translateY(-27px);
		z-index:10000;
		-webkit-transition: -webkit-transform 0.4s var(--easing);
		transition: transform 0.4s var(--easing);

	}

	html.time_0_6 a.hamburger,
	html.time_18_0 a.hamburger {
		background-color:var(--color_bright_yellow);
	}

	html.time_6_12 a.hamburger,
	html.time_12_18 a.hamburger {
		background-color:var(--color_dark_grey);
	}

	html.time_0_6 a.hamburger.active,
	html.time_18_0 a.hamburger.active {
		transform: translateY(20px);
		background: var(--color_bright_yellow) url('images/close_hamburger_dark.svg') no-repeat center center;
		background-size:27px 27px;
	}

	html.time_6_12 a.hamburger.active,
	html.time_12_18 a.hamburger.active {
		transform: translateY(20px);
		background:var(--color_dark_grey) url('images/close_hamburger_bright.svg') no-repeat center center;
		background-size:27px 27px;
	}

	.detail_page .subline {
		-ms-grid-columns: 2 / 6;
		grid-column:2 / 6;
		margin-top:50px;
	}

	.project_overview .project_preview_outer:nth-child(odd) {
		-ms-grid-columns: 1 / 3 !important;
		grid-column:1 / 3 !important;
	}

	.project_overview .project_preview_outer:nth-child(even) {
		-ms-grid-columns: 4 / 6 !important;
		grid-column:4 / 6 !important;
	}

	.page_projects .project_title_preview {
		margin-top:17px;
	}

	.page_projects .project_overview .project_preview_outer {
		margin-bottom:55px;
	}

	.page_projects .project_overview {
		margin-top:55px;
	}

	footer .footer_logo {
		display:none !important;
	}

	.project_detail_two_columns, .infos_two_columns,
	.subline {
		margin:0 0 55px 0;
	}

	.project_detail_two_columns .column_left, .infos_two_columns .infos_two_columns_column_left {
		margin-bottom:55px;
	}

	.project_detail_two_columns .column_right h2, .infos_two_columns h2 {
		margin-bottom:20px;
	}

	.project_detail_two_columns .column_left, .infos_two_columns .infos_two_columns_column_left {
		position:relative;
		top:0;
	}

	.wysiwig_content a:not(.call_to_action) {
		mix-blend-mode: normal;
	}

}