@charset "UTF-8";


/**********/
/* Variables */
/**********/

:root {
	--fs: 17px;
	--fs-md: calc(var(--fs) * 1.25);
	--fs-lg: calc(var(--fs) * 1.5);
	--fs-xl: calc(var(--fs) * 3);
	--fs-xxl: calc(var(--fs) * 4);

	--black: #1C2227;
	--dark-grey: #37393F;
	--red: #7F1A15;
	/* --white: #FDFCF7; */
  --white: #FFFFFF;

	--ceP: calc(var(--fs) * 4.5);
	--ceP-sm: var(--fs);
	--ceP-md: calc(var(--fs) * 2.25);
	--ceP-lg: calc(var(--fs) * 9);
	--ceP-xl: calc(var(--fs) * 18);

	--easing: cubic-bezier(.4, 0, .2, 1);

	--hh: 8rem;
	--hh-scrolled: 4rem;

	--column-gap: 1.5rem;
	--page-gutter: clamp(1.5rem, 4.7vw, 4.75rem);

	--page-transition-duration: 1.5s;
}


/**********/
/* Base */
/**********/

html {
	width: 100%;
	overflow-x: clip;
	font-size: var(--fs);
	background-color: var(--white);
}

body {
	width: 100%;
	min-height: -webkit-fill-available;
	padding-top: var(--hh);
	overflow-x: clip;
	scrollbar-gutter: stable;
	font-family: "AkkuratLLSub-Bold", sans-serif;
	font-optical-sizing: auto;
	font-weight: 400;
	font-style: normal;
	line-height: 1.3;
	color: var(--black);
	background-color: var(--white);
}

section {
	position: relative;
	width: 100%;
	scroll-margin-top: var(--ceP);
}

a {
	color: inherit;
	text-decoration-line: underline;
	text-decoration-thickness: .075em;
	text-underline-offset: .2em;
	text-decoration-skip-ink: auto;
}

@media (hover: hover) and (pointer: fine) {
	a:hover {
		color: inherit;
		text-decoration: none;
	}
}

b,
strong {
	font-weight: 700;
}

:focus,
:focus-visible {
	outline: none;
}

::selection {
	color: var(--white);
	background-color: var(--red);
}


/**********/
/* Layout */
/**********/

.container {
	width: 100%;
	max-width: none;
	padding-inline: var(--page-gutter);
}


/**********/
/* Scroll locking */
/**********/

html.no-scroll,
body.no-scroll,
html.home-intro-active,
html.home-intro-active body {
	overflow: hidden !important;
	overscroll-behavior: contain;
}

html.no-scroll,
body.no-scroll {
	overscroll-behavior: none;
}


/**********/
/* Helpers */
/**********/

.visually-hidden {
	position: absolute !important;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0 0 0 0);
	clip-path: inset(50%);
	white-space: nowrap;
	border: 0;
}

.text-left { text-align: left; }
.text-center { text-align: center; }
.text-right { text-align: right; }
.text-justify { text-align: justify; }

.text-big {
	font-size: var(--fs-lg);
}
.text-red {
	color: var(--red);
}

.text-small {
	font-size: calc(var(--fs) * .75);
}

.header {
	text-transform: uppercase;
	font-size: 1rem;
	margin-bottom: 1rem;
}


/**********/
/* Backgrounds */
/**********/

.bg-black {
	color: var(--white);
	background-color: var(--black);
}

.bg-red {
	color: var(--white);
	background-color: var(--red);
}

.bg-white {
	color: var(--black);
	background-color: var(--white);
}


/**********/
/* Text flow */
/**********/

ol,
ul {
	padding-left: 1em;
}

p,
table,
ul,
ol {
	margin-bottom: 1em;
}

p:has(+ ul),
p:has(+ ol) {
	margin-bottom: 0;
}

nav ul {
	padding: 0;
	margin: 0;
	list-style: none;
}

sup {
	font-size: .75em;
	font-weight: 400;
}

*:last-child {
	margin-bottom: 0;
}


/**********/
/* Section spacing */
/**********/

section.top- { padding-top: var(--ceP); }
section.top-sm { padding-top: var(--ceP-sm); }
section.top-md { padding-top: var(--ceP-md); }
section.top-lg { padding-top: var(--ceP-lg); }
section.top-xl { padding-top: var(--ceP-xl); }
section.top-zero { padding-top: 0; }

section.bottom- { padding-bottom: var(--ceP); }
section.bottom-sm { padding-bottom: var(--ceP-sm); }
section.bottom-md { padding-bottom: var(--ceP-md); }
section.bottom-lg { padding-bottom: var(--ceP-lg); }
section.bottom-xl { padding-bottom: var(--ceP-xl); }
section.bottom-zero { padding-bottom: 0; }


/**********/
/* Image loading */
/**********/

.js img.pixel,
.js img.image-fade {
	opacity: 0;
	transition:
		opacity 700ms var(--easing),
		transform .75s var(--easing),
		filter .7s var(--easing);
}

.js img.pixel.is-loaded,
.js img.image-fade.is-loaded,
.js img.pixel[fetchpriority="high"],
.js img.image-fade[fetchpriority="high"] {
	opacity: 1;
}


/**********/
/* Image links */
/**********/

.image > a img {
	transition: transform .75s var(--easing);
}

@media (hover: hover) and (pointer: fine) {
	.image > a:hover img {
		transform: scale(1.05);
	}
}


/**********/
/* Header */
/**********/

#site-header {
	position: fixed;
	top: 0;
	right: 0;
	left: 0;
	z-index: 100;
	display: flex;
	width: calc(100% - var(--modal-scrollbar-width, 0px));
	height: var(--hh);
	background-color: var(--white);
	transition: height .7s var(--easing);
}

#site-header > .container {
	position: relative;
	z-index: 1;
	align-self: center;
}

body.is-scrolled #site-header {
	height: var(--hh-scrolled);
}

.header-backdrop {
	position: absolute;
	top: 0;
	right: 0;
	left: 0;
	z-index: 0;
	display: none;
	height: calc(var(--hh) + 3rem);
	overflow: hidden;
	pointer-events: none;
	transition:
		height .7s var(--easing),
		transform .7s var(--easing);
}

body.is-scrolled .header-backdrop {
	transform: translateY(
		calc(var(--hh-scrolled) - var(--hh))
	);
}

.header-backdrop > span {
	position: absolute;
	inset: 0;
}


/* Opaque at the top, fading out towards the content */

.header-backdrop-tint {
	background: linear-gradient(
		to bottom,
		rgba(255, 255, 255, 1) 0%,
		rgba(255, 255, 255, .98) 45%,
		rgba(255, 255, 255, .9) 62%,
		rgba(255, 255, 255, .55) 78%,
		rgba(255, 255, 255, .18) 90%,
		rgba(255, 255, 255, 0) 100%
	);
}


/* Blur layers */

.header-backdrop-blur {
	-webkit-backdrop-filter: blur(var(--blur));
	backdrop-filter: blur(var(--blur));

	-webkit-mask-image: linear-gradient(
		to bottom,
		#000 0%,
		#000 var(--fade-start),
		transparent 100%
	);

	mask-image: linear-gradient(
		to bottom,
		#000 0%,
		#000 var(--fade-start),
		transparent 100%
	);
}

.header-backdrop-blur--strong {
	--blur: 14px;
	--fade-start: 52%;
}

.header-backdrop-blur--medium {
	--blur: 7px;
	--fade-start: 68%;
}

.header-backdrop-blur--soft {
	--blur: 3px;
	--fade-start: 82%;
}


@supports ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {

	#site-header {
		background-color: transparent;
	}

	.header-backdrop {
		display: block;
	}

}

#box-menu {
	font-size: .8rem;
}

#box-menu,
.main-menu ul {
	display: flex;
	flex-wrap: nowrap;
	column-gap: 1em;
}

#site-header a,
#site-header button {
	text-decoration: none;
}

.main-menu ul .active a {
	color: var(--red);
}


/**********/
/* Project detail navigation */
/**********/

.project-navigation {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	font-size: .8rem;
}

.project-navigation__siblings {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: .25rem clamp(1rem, 3vw, 2.5rem);
	min-width: 0;
}

.project-navigation a.fancy-hover {
	display: inline-flex;
	align-items: center;
	min-height: 44px;
	color: var(--black);
	text-decoration: none;
	white-space: nowrap;
}

.project-navigation a.project-navigation__close {
	--link-hover-color: var(--black);
	flex: 0 0 auto;
	margin-left: auto;
	color: var(--red);
}

.project-navigation a.fancy-hover::after {
	display: flex;
	align-items: center;
}


/**********/
/* Close buttons */
/**********/

.information-dialog__close,
.project-slider-popup__close,
.vbox-overlay .vbox-close {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 44px;
	min-height: 44px;
	padding: 0 .25rem;
	border: 0;
	border-radius: 0;
	font: inherit;
	font-size: .8rem;
	line-height: 1.2;
	text-align: center;
	text-transform: none;
	white-space: nowrap;
	color: var(--white);
	text-decoration: none;
	cursor: pointer;

	/* Dialog scripts own opacity; filter keeps the hover fade independent. */
	filter: opacity(1);
	transition: filter .25s var(--easing);
}

.vbox-overlay .vbox-close {
	opacity: 1;
}

.information-dialog__close:is(:hover, :focus, :active),
.project-slider-popup__close:is(:hover, :focus, :active),
.vbox-overlay .vbox-close:is(:hover, :focus, :active) {
	color: var(--white);
	text-decoration: none;
}

@media (hover: hover) and (pointer: fine) {
	.information-dialog__close:hover,
	.project-slider-popup__close:hover,
	.vbox-overlay .vbox-close:hover {
		filter: opacity(.7);
	}
}

@media (prefers-reduced-motion: reduce) {
	.information-dialog__close,
	.project-slider-popup__close,
	.vbox-overlay .vbox-close {
		transition: none;
	}
}


/**********/
/* Mobile navigation */
/**********/

.mobile-menu-toggle,
.mobile-menu__only,
.mobile-menu__brand,
#mobile-menu:not([open]) {
	display: none;
}

#mobile-menu {
	--mobile-menu-gutter: clamp(24px, 7vw, 64px);
	--mobile-menu-control-top: max(clamp(1rem, 3.6svh, 2.5rem), env(safe-area-inset-top));
	--mobile-menu-controls-height: calc(var(--mobile-menu-control-top) + max(2.75rem, 44px) + .75rem);
	position: fixed;
	inset: 0;
	width: 100%;
	max-width: none;
	height: 100vh;
	height: 100dvh;
	max-height: none;
	margin: 0;
	padding: 0;
	border: 0;
	overflow: hidden;
	overscroll-behavior: contain;
	color: var(--white);
	background: transparent;
}

.mobile-menu__surface {
	position: absolute;
	inset: 0;
	background: var(--black);
}

.mobile-menu__content {
	position: absolute;
	inset: var(--mobile-menu-controls-height) 0 0;
	overflow-x: hidden;
	overflow-y: auto;
	overscroll-behavior: contain;
	-webkit-overflow-scrolling: touch;
}

#mobile-menu .mobile-menu__close {
	position: absolute;
	top: var(--mobile-menu-control-top);
	right: max(var(--mobile-menu-gutter), env(safe-area-inset-right));
	display: grid;
	align-items: center;
	justify-items: end;
	justify-content: normal;
	width: max(2.75rem, 44px);
	height: max(2.75rem, 44px);
	padding: 0;
	color: var(--white);
	background: transparent;
	filter: none;
	transition: none;
}

/* The curtain layers share one text-sized grid area inside the full-size target. */
#mobile-menu .main-menu a > span,
#mobile-menu .main-menu a::after,
#mobile-menu .mobile-menu__close > span,
#mobile-menu .mobile-menu__close::after {
	grid-area: 1 / 1;
}

#mobile-menu .main-menu a::after,
#mobile-menu .mobile-menu__close::after {
	position: static;
	inset: auto;
	width: max-content;
	padding: 0;
}


/**********/
/* Home intro */
/**********/

.home-intro {
	display: none;
}

.js .home-intro {
	position: fixed;
	inset: 0;
	z-index: 10000;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	height: 100vh;
	height: 100dvh;
	overflow: hidden;
	color: var(--white);
	background-color: var(--black);
	opacity: 1;
	transition: opacity calc(600ms / .85) var(--easing);
}

.home-intro.is-leaving {
	pointer-events: none;
}

.home-intro-line {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
}

.home-intro svg {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
}

.home-intro #line {
	fill: none;
	stroke: var(--white);
	stroke-width: 1;
	vector-effect: non-scaling-stroke;
}

.home-intro-text {
	position: relative;
	z-index: 1;
	display: flex;
	flex-direction: column;
	align-items: center;
	font-size: clamp(.8rem, .85vw, 1rem);
	font-weight: 700;
	line-height: 1.05;
	text-align: center;
	text-transform: uppercase;
}

.home-intro-text-line {
	display: block;
	white-space: nowrap;
}

.home-intro-text-end {
	display: contents;
}

.home-intro-char {
	display: inline-block;
	opacity: 0;
	transform: translate3d(0, .75em, 0);
	will-change: transform, opacity;
	transition:
		opacity calc(400ms / .85) ease,
		transform calc(750ms / .85) cubic-bezier(.16, 1, .3, 1);
	transition-delay: calc(var(--char-index, 0) * 40ms / .85);
}

.home-intro.is-text-visible .home-intro-char {
	opacity: 1;
	transform: translate3d(0, 0, 0);
}

#box-logo {
	max-width: 200px;
}


/**********/
/* Home */
/**********/

html:has(.home-main),
body:has(.home-main) {
	width: 100%;
	height: 100%;
	overflow: hidden;
	overscroll-behavior: none;
}

body:has(.home-main) {
	padding-top: 0;
	scrollbar-gutter: auto;
}

.home-page {
	height: 100vh;
	height: 100dvh;
	min-height: 0;
	color: var(--white);
	background-color: var(--black);
}

.home-main {
	--link-curtain-duration: calc(.7s / .85);

	position: relative;
	z-index: 1;
	display: flex;
	align-items: center;
	width: 100%;
	height: 100vh;
	height: 100dvh;
	min-height: 0;
	overflow: hidden;
	color: var(--white);
	background: transparent;
	mix-blend-mode: difference;
}

.home-image-slot {
	display: contents;
}

.home-row {
	height: 100%;
	min-height: 0;
}

#box-home-location {
	font-size: .7rem;
	line-height: 1.2;
	text-transform: uppercase;
}

#box-home-location > div:first-child {
	margin-bottom: .35rem;
}

#box-home-image {
	width: 100%;
}

#box-home-image img {
	display: block;
	width: 100%;
	height: auto;
}

#box-home-logo img,
#box-home-logo svg {
	display: block;
	width: 100%;
	height: auto;
	margin-inline: auto;
}

#box-home-logo svg {
	max-width: 350px;
}

#box-home-logo svg path {
	fill: var(--white);
}

#box-home-menu {
	display: flex;
	flex-direction: column;
	align-items: flex-end;
	text-transform: uppercase;
}

#box-home-menu a {
	text-decoration: none;
}

#box-home-menu .main-menu ul {
	display: flex;
	flex-direction: column;
	align-items: flex-end;
	row-gap: 0;
}

#box-home-menu .main-menu li {
	margin: 0;
}

#box-home-menu .main-menu a {
	display: inline-block;
}

.home-main :is(#box-home-location, #box-home-menu, #box-home-logo),
.home-main #box-home-menu a {
	color: var(--white);
}


/**********/
/* Home image trail */
/**********/

.home-image-trail {
	--home-image-width: clamp(160px, 11.6vw, 250px);

	position: fixed;
	inset: 0;
	z-index: 0;
	overflow: hidden;
	pointer-events: none;
	user-select: none;
}

.js .home-image-trail {
	opacity: 0;
}

.home-image-trail .home-image-item {
	position: absolute;
	top: 50%;
	left: 27.5%;
	width: var(--home-image-width);
	aspect-ratio: 5 / 6;
	max-height: 300px;
	margin: 0;
	padding: 0;
	transform: translate3d(-50%, -50%, 0);
	will-change: transform;
}

.home-image-item:nth-child(1) { z-index: 10; opacity: 1; }
.home-image-item:nth-child(2) { z-index: 9; opacity: .86; }
.home-image-item:nth-child(3) { z-index: 8; opacity: .73; }
.home-image-item:nth-child(4) { z-index: 7; opacity: .61; }
.home-image-item:nth-child(5) { z-index: 6; opacity: .5; }
.home-image-item:nth-child(6) { z-index: 5; opacity: .4; }
.home-image-item:nth-child(7) { z-index: 4; opacity: .31; }
.home-image-item:nth-child(8) { z-index: 3; opacity: .23; }
.home-image-item:nth-child(9) { z-index: 2; opacity: .16; }
.home-image-item:nth-child(10) { z-index: 1; opacity: .1; }

.home-image-trail .home-image-item picture,
.home-image-trail .home-image-item img {
	display: block;
	width: 100%;
	height: 100%;
	max-width: none;
	margin: 0;
}

.home-image-trail .home-image-item img {
	object-fit: cover;
	opacity: 1;
	transform: none;
	transition: none;
}


/**********/
/* Main */
/**********/

#site-main {
	position: relative;
}


/**********/
/* Two-column layout */
/**********/

.site-main--two-columns .site-columns {
	--bs-gutter-x: 0;
	--bs-gutter-y: 0;
}

.site-main--two-columns .site-column,
.site-main--two-columns .site-column-scroll,
.site-main--two-columns .site-column-scroll-inner,
.site-main--two-columns .site-column-content {
	min-width: 0;
}


/**********/
/* Footer */
/**********/

#site-footer {
	position: relative;
	padding-top: var(--hh);
	padding-bottom: var(--ceP);
}

#site-footer a,
.site-column-footer a {
	text-decoration: none;
}


/* Background variant */

.site-footer--background {
	--footer-bg-height: clamp(24rem, 45vw, 50rem);

	position: relative;
	display: flex;
	align-items: flex-end;
	min-height: var(--footer-bg-height);
	color: var(--white);
}

.site-footer--background::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: 0;
	background-image: url("/fileadmin/user_upload/images/bg/site-bg.webp");
	background-repeat: no-repeat;
	background-position: center top;
	background-size: 100% auto;
	pointer-events: none;
}

.site-footer--background > .container {
	position: relative;
	z-index: 1;
	width: 100%;
}


.footer-row {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	align-items: end;
	width: 100%;
}

.footer-column--credits {
	text-align: left;
}

.footer-column--links {
	text-align: right;
}

.box-address {
	text-transform: uppercase;
}


/**********/
/* Split footer */
/**********/

.site-column-footer {
	position: relative;
	width: 100%;
	overflow: hidden;
}

.site-column-footer__canvas {
	position: relative;
	width: 200%;
	padding-top: var(--hh);
	padding-bottom: var(--ceP);
}


/* Background variant */

.site-column-footer__canvas--background {
	--footer-bg-height: clamp(24rem, 45vw, 50rem);

	display: flex;
	align-items: flex-end;
	min-height: var(--footer-bg-height);
	color: var(--white);
	isolation: isolate;
}

.site-column-footer__canvas--background::before {
	content: "";
	position: absolute;
	right: 0;
	bottom: 0;
	left: 0;
	z-index: -1;
	height: var(--footer-bg-height);
	background-image: url("/fileadmin/user_upload/images/bg/site-bg.webp");
	background-repeat: no-repeat;
	background-position: center bottom;
	background-size: 100% auto;
	pointer-events: none;
}


.site-column-footer--right .site-column-footer__canvas {
	left: -100%;
}


/**********/
/* Text link curtain */
/**********/

nav[class*="menu"] a[data-linktext],
.fancy-hover[data-linktext] {
	position: relative;
	display: inline-block;
}

nav[class*="menu"] a[data-linktext] > span,
.fancy-hover[data-linktext] > span {
	display: inline-block;
	white-space: nowrap;
}

/* Touch links keep their original text; only hover-capable pointers reveal a copy. */
@media (hover: hover) and (pointer: fine) {
	nav[class*="menu"] a[data-linktext] > span,
	.fancy-hover[data-linktext] > span {
		clip-path: inset(0);
		transition: clip-path var(--link-curtain-duration, .7s) var(--easing);
	}

	nav[class*="menu"] a[data-linktext]::after,
	.fancy-hover[data-linktext]::after {
		content: attr(data-linktext);
		position: absolute;
		inset: 0;
		color: var(--link-hover-color, var(--red));
		white-space: nowrap;
		pointer-events: none;
		clip-path: inset(0 100% 0 0);
		transition: clip-path var(--link-curtain-duration, .7s) var(--easing);
	}

	nav[class*="menu"] a[data-linktext]:is(:hover, :focus-visible) > span,
	.fancy-hover[data-linktext]:is(:hover, :focus-visible) > span {
		clip-path: inset(0 0 0 100%);
	}

	nav[class*="menu"] a[data-linktext]:is(:hover, :focus-visible)::after,
	.fancy-hover[data-linktext]:is(:hover, :focus-visible)::after {
		clip-path: inset(0);
	}
}
