/* mulish-200 - latin */
@font-face {
	font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
	font-family: 'Mulish';
	font-style: normal;
	font-weight: 200;
	src: url('https://static.immoserver.ch/fonts/google/mulish-v12-latin-200.woff2') format('woff2'), /* Chrome 36+, Opera 23+, Firefox 39+ */
		 url('https://static.immoserver.ch/fonts/google/mulish-v12-latin-200.woff') format('woff'); /* Chrome 5+, Firefox 3.6+, IE 9+, Safari 5.1+ */
}



/* mulish-300 - latin */
@font-face {
	font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
	font-family: 'Mulish';
	font-style: normal;
	font-weight: 300;
	src: url('https://static.immoserver.ch/fonts/google/mulish-v12-latin-300.woff2') format('woff2'), /* Chrome 36+, Opera 23+, Firefox 39+ */
		 url('https://static.immoserver.ch/fonts/google/mulish-v12-latin-300.woff') format('woff'); /* Chrome 5+, Firefox 3.6+, IE 9+, Safari 5.1+ */
}


/* mulish-regular - latin */
@font-face {
	font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
	font-family: 'Mulish';
	font-style: normal;
	font-weight: 400;
	src: url('https://static.immoserver.ch/fonts/google/mulish-v12-latin-regular.woff2') format('woff2'), /* Chrome 36+, Opera 23+, Firefox 39+ */
		 url('https://static.immoserver.ch/fonts/google/mulish-v12-latin-regular.woff') format('woff'); /* Chrome 5+, Firefox 3.6+, IE 9+, Safari 5.1+ */
}






/* mulish-700 - latin */
@font-face {
	font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
	font-family: 'Mulish';
	font-style: normal;
	font-weight: 700;
	src: url('https://static.immoserver.ch/fonts/google/mulish-v12-latin-700.woff2') format('woff2'), /* Chrome 36+, Opera 23+, Firefox 39+ */
		 url('https://static.immoserver.ch/fonts/google/mulish-v12-latin-700.woff') format('woff'); /* Chrome 5+, Firefox 3.6+, IE 9+, Safari 5.1+ */
}




:root
{
	--text-color: black;
	--fancybox-content-color:var(--text-color);
	--theme-color: #392615;
	--hover-color: #050200;	
	--odd-color: lightgrey;
	--swiper-navigation-size: 3em;
	--swiper-theme-color: white;
	--padding-left-right:clamp(1.5rem,6vw,4.5em);
	--padding-top-bottom:clamp(3rem,7vw,7em);
	--is-iso-level-spacing:-200px;
	--is-iso-level-active-count:1;
	--is-iso-flat-active-filter-color: var(--theme-color);
}

body
{
	color:var(--text-color);
	font-family: 'Mulish', sans-serif;
	font-weight: 300;
	margin:0;
	font-size: 1.13em;
	line-height: 1.25;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;

}

body.toggled
{
	overflow: hidden;
}

body.toggled header
{
	overflow: auto;
	max-height: 100vh;
}


a
{
	color:inherit;
	text-decoration: none;
}

.selectables a
{
	text-decoration: underline;
}

.logo
{
	box-sizing: border-box;
}

.video .logo
{
	left:var(--padding-left-right);
	position: absolute;
	top:clamp(2em,6vw,5.3em);
	z-index: 200;
}

.video
{
	position: sticky;
	height: 100vh;
	top:0px;
	left:0px;
	right: 0px;
	z-index: 3;
	transform: translate3d(0,0,0);

}

.box,.images,section > .group 
{
	position: relative;
	z-index: 20;
	transform: translate3d(0,0,0);
}

section > .group 
{
	background: white;
}

 .logo img
{
	display:block;
	width: clamp(200px,30vw,409px);
	object-fit:contain;
}



main .group > .wrapper
{
	max-width:1230px;
	margin:auto;
}

section > .group > .wrapper,
.box > .wrapper > .group > .wrapper
{
	padding:var(--padding-top-bottom) var(--padding-left-right);
}


.group > .wrapper > :first-child,
.group > .wrapper > .title:first-child > .wrapper > h1,
.group > .wrapper > .subtitle:first-child > .wrapper > h2
{
	margin-top:0;
}

.group > .wrapper > :last-child,
.group > .wrapper > .title:last-child > .wrapper > h1,
.group > .wrapper > .subtitle:last-child > .wrapper > h2
{
	margin-bottom:0;
}

.group .element
{
	margin:1em 0;
}

/* elements */

.images img
{
	display:block;
	width:100%;
}

.legend
{
	display: none;
}

input,
select
{
	margin:0;
}

input[type=text],
input[type=email],
input[type=tel],
textarea,
button,
select
{
	box-sizing:border-box;
	font:inherit;
	color:inherit;
}

input[type=text],
input[type=email],
input[type=tel],
textarea,
select
{
	display:block;
	width:100%;
	border:0px solid var(--theme-color);
	background: #BDB8A4 0% 0% no-repeat padding-box;
	color:#1D140B;
	padding:.35em .5em ;
	border-radius: 0;
	font-weight: normal;
	font-size: .9em;

}

.contact .selectables > label{
	font-size:clamp(16px,3vw,18px);

}
input::placeholder
{
	color:#1D140B;
	opacity: 1;
	font:inherit;
}

input[type=checkbox],
input[type=radio]
{
	appearance:none;
	-webkit-appearance:none;
	flex:0 0 auto;
	width:1.2em;
	height: 1.2em;
	background: #BDB8A4 ;
	display: flex;
	justify-content: center;
	align-items: center;
	align-content: center;
	border:0;
	border-radius: 0;
	margin-bottom: 0;
}

input[type=checkbox]:after,
input[type=radio]:after
{
	color:#1D140B;
	font-style: normal;
	font-variant: normal;
	text-rendering: auto;
	-webkit-font-smoothing: antialiased;
	font-family: 'Font Awesome 5 Pro';
	font-weight: 400;
	font-size:1em;
}

input[type=checkbox]:after{content: "";}
input[type=checkbox]:checked:after{content: "\f00c";}
input[type=radio]:after{content:"";}
input[type=radio]:checked:after{content: "\f00c";}

.button,
button
{
	background:var(--theme-color);
	border:1px solid var(--box-text-color,var(--text-color));
	color:inherit;
	cursor:pointer;
	padding:.6em 2em .6em 2em;
	white-space: nowrap;
	display: inline-block;
	letter-spacing: .1em;	
	font-weight:normal;
	text-transform: uppercase;
	line-height: 1.1;
}

button:hover,.button:hover
{
	background-color: var(--hover-color);
}
.contact button:hover{
	background: none;
	border-color: white;
	color:white;
}

.contact .box
{
	border: 1px solid #b2ac96;
	padding: 1.5em 1em;
	display: flex;
	flex-direction: column;
	gap: 1.4em;
}

.button.primary,
button.primary
{
	font-weight:bold;
}

.button.secondary,
button.secondary
{
	color:var(--theme-color);
	border:1px solid var(--theme-color);
	background:none;
}

select
{
	appearance:none;
}

.box
{
	background-color: var(--box-bg-color);
	color:var(--box-text-color);
}


.box > .wrapper
{
	border-top:3px solid white;
	border-bottom:3px solid white;
}


.box .logo img
{
	width:clamp(130px,20vw,282px);
	margin-top:2em;
}

.title h1
{
	font-weight: 200;
	font-size: clamp(1.9em,5.6vw,5.55em);
	line-height: 1.1;
	padding-bottom: 0;
	margin:0 0 .3em -.07em;

}

.text .typo
{
	font-size:clamp(1em,1.8vw,1.83em);
	line-height: 1.25;

}

.text.element:last-child,.group > .wrapper .contact.element{
	margin-bottom: 2.4em;
}
.consent-message,.consent-links a
{
	font-size: clamp(1em,3vw,1.3em)
}

.consent-message .consent-links a
{
	font-size: 1em;
}

.contact label,button,.button
{
	font-size:clamp(16px,3vw,21px);

}

.contact .form-split
{
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap:1.4em 1em;
}

.contact form
{
	display: flex;
	flex-direction: column;
	gap:1.4em;
}

.contact .form-split-1-3
{
	display:grid;
	gap:1em;
	grid-template-columns:1fr 3fr;
}

.contact .form-label
{
	display: block;
	padding-bottom: 0.1em;
}

.contact .form-warning
{
	color:red;

	margin-top:.25em;
	display:block;
	width:100%;
}

.contact .form-invalid
{
	border-color:red;
}

.contact .form-interest-selection
{
	display:grid;
	grid-template-columns: 1fr 1fr;
	gap: 0 1em;
}

.contact .form-interest-selection [data-interest-type=radio]
{
	grid-column: 1 / span 2;
}

.contact .selectables
{
	display:flex;
	flex-wrap:wrap;
	gap: .2em 1.95em;
}

.contact .selectables > label
{
	display:flex;
	align-items: center;
	gap:.5em;
}

.contact input[name=Email_Address]{display:none;}

strong
{
	font-weight: bold;
}

.contact .items,footer > .wrapper
{
	margin:0 auto;
	max-width: 900px;
}

.contact > .wrapper
{
	margin-top: calc(var(--padding-top-bottom) / 3);
}

.contact button
{
	margin-top: calc(var(--padding-top-bottom) / 7);
	margin-right: .2em;
}

.contact .selectables
{
	margin-top: 1.4em;
}

.contact form >  .selectables.datenschutz
{
	margin-top: 0;
}

.contact .ajax-loading,
.contact .ajax-error,
.contact .mail.success,
.contact .mail.error
{
	
	background: green;
	padding:3em 1em;
	text-align:center;
	color:white;
}

.contact .ajax-error,
.contact .mail.error
{
	background:red;
}

.contact .ajax-form .ajax-loading,
.contact .ajax-form .ajax-result,
.contact .ajax-form .ajax-error,
.contact .ajax-form.ajax-state-loading form,
.contact .ajax-form.ajax-state-success form
{
	display:none;
}

.contact .ajax-form.ajax-state-loading .ajax-loading,
.contact .ajax-form.ajax-state-success .ajax-result,
.contact .ajax-form.ajax-state-error .ajax-error
{
	display:block;
}

.contact .info 
{
	display: flex;
	flex-direction: column;
	gap: 1em;
}

.responsive
{
	position: relative;
	padding-bottom: 56.25%;
	padding-top: 0px;
	height: 0;
	overflow: hidden;
}

.responsive iframe,
.responsive > .consent-content
{
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	border:0;
}

.video video
{
	display:block;
	width:100%;
	height: 100vh;
	height: 100dvh;
	object-fit: cover;
	object-position: center;
}

.text-left
{
	text-align: left;
}

.text-center
{
	text-align: center;
}

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

.fancybox__content
{
	padding:0;
	width:80em;
	max-width:100%;
}

.fancybox__slide.has-image .fancybox__content
{
	width: 100%;
}

.fancybox__content >.group > .wrapper
{
	padding:clamp(1.5em,3vw,3em);	
}

.fancybox__content .text .typo
{
	font-size:clamp(1em,3vw,1.3em);
}

.fancybox__content .title h1
{
	font-size: clamp(1.55em,4vw,4em);
}

.fancybox__content .consent-preferences h2
{
	font-size: clamp(1.2em,3vw,2em);
	font-weight: 200;

}

.icon::after,
.icon::before
{
	text-align: center;
	font: var(--fa-font-regular);
}

.consent-cover
{
	position:absolute;
	width:100%;
	height:100%;
	background:rgba(0,0,0,.2);
	display:flex;
	justify-content: center;
	align-items:center;
}

.consent-cover .consent-message
{
	text-align:center;
}

.consent-cover-info
{
	display:flex;
	flex-direction:column;
	align-items: center;
	gap:.5em;
	padding:2em;
}

.consent-dialog
{
	position:sticky;
	bottom:0;
	background:white;
	z-index:100;
	box-shadow: 3px 3px 10px 0px rgb(50 50 50);
}

.consent-settings button.primary,.consent-dialog button.primary
{
	background: var(--hover-color);
	border-color: var(--theme-color);
	color:white;
}

.consent-settings button,.consent-dialog button
{
	border-color: var(--theme-color);
	font-weight: bold;
}

.consent-settings .links .items,.consent-dialog .links .items{
	gap:1em;
	display: flex;
	flex-wrap: wrap;
}
.consent-dialog .wrapper
{
	display:flex;
	flex-direction:column;
	gap:.5em;
	margin:auto;
	max-width:80em;
	padding:1em 2em;
}

.toggle-button
{
	font-size:1.4em;
	position:relative;
	width:2em;
	height:1em;
	background:gray;
	box-sizing:border-box;
	border-radius:.5em;
	transition:background .5s;
	cursor:pointer;
}

.toggle-button::after
{
	content:"";
	position:absolute;
	left:0;
	top:0;
	width:calc(1em - 4px);
	height:calc(1em - 4px);
	margin:2px;
	background:white;
	border-radius:.4em;
}

.toggle-button.active
{
	background:green;
}

.toggle-button.active::after
{
	right:0;
	left:auto;
}

a[consent-settings]
{
	cursor: pointer;
}

.consent-settings.fancybox__content
{
	width: 60em;
}

.consent-settings .tab
{
	border-top:1px solid black;
}

.consent-settings .consent-preferences
{
	border-bottom: 1px solid black;
}

.consent-settings .tab .header
{
	display:flex;
	justify-content: space-between;
	align-items:center;
	gap:.5em;
}

.consent-links
{
	gap:.5em;
	display:inline-flex;
	flex-wrap: wrap;
}

.consent-links a
{
	text-decoration: underline;
}

.consent-settings .tab [data-toggle]
{
	cursor:pointer;
}

.consent-settings .tab [data-toggle] h2
{
	display: flex;
	gap:.5em;
	align-items: center;
}

.consent-settings .tab [data-toggle] h2:before
{
	display: block;
	font: var(--fa-font-regular);
	content:"\f054"
}

.consent-settings .tab [data-toggle].active h2:before
{
	content:"\f078";
}

.consent-settings .tab .body
{
	padding-bottom: 1em;
}

.tab .body.toggled
{
	display:block;
}

footer
{
	background: #050200;
	color:#BDB8A4;
}

footer .wrapper
{
	padding:clamp(3rem,7vw,3em) var(--padding-left-right) calc(clamp(2.2rem,7vw,3em) / 2) var(--padding-left-right);
	display: flex;
	flex-direction: column;
	gap:1em;
}

footer nav a
{
	text-transform: uppercase;
	font-weight: bold;
	font-size: smaller;
}

footer nav
{
	margin-top: 2em;
	display:flex;
	gap: 1.2em;
	flex-wrap: wrap;
}

footer span
{
	font-size: smaller;
}

.hidden
{
	display:none;
}

@media(orientation: portrait)
{
	.video,
	.video video
	{
		height: 50vh;
		height: 50dvh;
	}
}

@media(max-width:700px)
{	
	.contact .form-split
	{
		grid-template-columns: 1fr;
		gap:1em;
	}
	.contact form{
		gap:1em;
	}
	.contact .selectables.datenschutz > label{
		align-items: start;
	}
	.contact .selectables.datenschutz  input[type=checkbox]{
		margin-top:.15em;
	
	}
	.contact form > .selectables.datenschutz{
		justify-content: flex-start;
	}
	footer .address{
		font-size: clamp(16px,3vw,18px);
	}
}

