@font-face {
  font-display: swap; 
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 400;
  src: url('../fonts/poppins-v24-latin-regular.woff2') format('woff2'); 
}
@font-face {
  font-display: swap; 
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 700;
  src: url('../fonts/poppins-v24-latin-700.woff2') format('woff2'); 
}


* {
	box-sizing: border-box;
	interpolate-size: allow-keywords;
}

:root {
	--c-teal: #73a59e;
	--c-mint: #81b5bf;
	--c-dove: #214865;
	--c-sand: #E8E3D6;
	
	--cf-teal: invert(62%) sepia(37%) saturate(274%) hue-rotate(122deg) brightness(92%) contrast(86%);
	--cf-dove: invert(21%) sepia(10%) saturate(4790%) hue-rotate(168deg) brightness(92%) contrast(81%);
	
	--f-sans: "Poppins", sans-serif;
	
	--br-std: 1em; 
	
	interpolate-size: allow-keywords;
	
	@media(prefers-reduced-motion:no-preference) {
		--t-std: all 0.3s ease allow-discrete;
		--t-slow: all 1.5s ease allow-discrete;
		--t-opacity: opacity 1.5s ease allow-discrete;
	}
	
	font-size: 1.125rem;
	scroll-padding-top: 160px;
	@media(max-width: 48rem) {
		font-size:1.125rem;
	}

	@media(max-width: 30rem) {
		font-size:1rem;
	}
}


body {
	margin: 0;
	font-family: var(--f-sans);
	color: #000000;
	line-height: 1.5;
	font-weight: 500;

	
	@media(max-width: 39rem) {
		hyphens:auto;
	}
}

p {
	margin: 0 0 1em;
}

p:empty {
	display: none;
}

a {
	transition: var(--t-std);
	color: var(--c-red);
}

a:hover {
	color: var(--c-blue);
}

video,img {
	max-width: 100%;
	display: block;
}

section:not(.intro,.quote) hgroup {
	margin-bottom: 2em; 
	& p {
		color: var(--c-dove);
	}
	
	& h2{
		color: var(--c-teal); 
	}

}
hgroup{
	letter-spacing: 0.03em;
	margin-bottom: 2em; 
	& p {
		font-weight: bold;
		text-wrap: balance; 
		font-size: 2rem; 
		margin-bottom: 0.5em; 
		line-height: 1.2;
	}
	
	& h2{
		font-size: 1rem; 
		margin-bottom: 1em;
	}
}

.btn {
	border: 1px solid var(--c-teal);
	border-radius: 0;
	color: black;
	font: inherit;
	padding: 0.75em;
	text-transform: none;
	text-decoration: none;
	font-size: inherit;
	cursor: pointer;
	transition: var(--t-std);
	display: inline-block;
	line-height: 0.9;
	text-align: center;
	appearance: none;
	font-family: var(--f-sans);
	margin-block: 0.25em;
	display: flex; 
	gap: 0.5em; 
	align-items: center; 
	border-radius: 100vw;
	background-color: white; 
	&>i{
		flex-shrink: 0; 
	}
	&:hover {
		background: var(--c-dove);
		border-color: var(--c-dove);
		color: white;
		
		&>i:after{
			filter: invert(0);
		}
		&.btn-right:after {
			border-color: black; 
		}
	}
}


.btn.btn-right:after {
	content: "";
	width: 0.66em;
	aspect-ratio: 1;
	border: 1px solid white;
	display: inline-block;
	transform: rotate(45deg);
	border-left: 0;
	border-bottom: 0;
	transition: var(--t-std); 
	align-self: center;
		flex-shrink: 0; 
}

.btn.btn-gold {
	background: var(--c-gold); 
	border: 1px solid var(--c-gold);
	
	&:hover{
		background: white;
		&.btn-right:after {
			border-color: black;
		}

	}
}

p.highlight {
	text-wrap: balance; 
	text-transform: uppercase; 
	font-weight: bold; 
	font-size: 1.11em; 
	letter-spacing: 0.1em;
}
p>.highlight {
	text-transform: uppercase; 
	font-weight: bold; 
	letter-spacing: 0.05em;
}

.pimg-right,.pimg-left {
	float: right;
	margin: 0 0 1em 3em;
	max-width: calc(44% - 3em);
	& figcaption {
		font-size: 0.8em;
		text-align: right;
		font-style: italic;
	}

	@media(max-width: 39rem) {
		float:none;
		max-width:unset;width:100%;margin:0 0 1em 0;& figcaption {
			font-size: 1em;
		}
	}
}

.pimg-left {
	float: left;
	margin: 0 3em 1em 0;
	& figcaption {
		text-align: left;
	}
}



.kontakt-link {
	font: inherit;
	background: none;
	border: none;
	padding: 0;
	margin: 0;
	cursor: pointer;
	text-decoration: underline;
	color: white;
	transition: var(--t-std);
	&:hover {
		color: var(--c-blue);
	}
}

.prepareAnim {
	opacity: 0;
	transform: scale(0.5);
	transition: none!important;
}

.animIn {
	transition: var(--t-slow)!important;
	transition-delay: 0.25s;
	opacity: 1;
	transform: scale(1);
}

h1,h2,h3,h4,h5,h6 {
	font-family: var(--f-sans);
	font-weight: 600;
	margin-bottom: 0.33em;
	line-height: 1.2;
	text-wrap: balance;
	margin-top: 1em;				
	letter-spacing: 0.03em;
}
section:not(.intro,.quote,.introstart){
	& h2,& h3,& h4,& h5,& h6 {
		color: var(--c-dove); 
	}	
	& h1 {
		color: var(--c-teal); 
	}
}

h1:first-child,h2:first-child,h3:first-child,h4:first-child,h5:first-child,h6:first-child,.pimg-right+h1:nth-child(2) {
	margin-top: 0em;
}

h1 {
	font-size: 2.5rem;
	@media(max-width: 39rem) {
		font-size:2.25rem;
	}
	@media(max-width: 30rem) {
		font-size:2rem;
	}
}

h2 {
	font-size: 2em;
	
	&.bg>span{
		display: inline-block;   
		text-box-trim: trim-both;
		  text-box-edge: cap alphabetic;
		background: var(--c-gold);
		margin-inline: 0.1em;
		padding: 0.0125em;
		color: white; 
 
	}
	@media(max-width: 39rem) {
		font-size:1.9rem;
	}
	@media(max-width: 30rem) {
		font-size:1.8rem;
	}
}

h3 {
	font-size: 1.8rem;
	@media(max-width: 39rem) {
		font-size:1.7rem;
	}
	@media(max-width: 30rem) {
		font-size:1.6rem;
	}
}

h4 {
	font-size: 1.6rem;
	@media(max-width: 39rem) {
		font-size:1.5rem;
	}
	@media(max-width: 30rem) {
		font-size:1.4rem;
	}
}

h5 {
	font-size: 1.4rem;
	@media(max-width: 39rem) {
		font-size:1.3rem;
	}
	@media(max-width: 30rem) {
		font-size:1.1rem;
	}
}

h6 {
	font-size: 1.2rem;
	@media(max-width: 30rem) {
		font-size:1.1rem;
	}
}

form {
	display: flex;
	flex-direction: column;
	gap: 1em;
	& input[type="text"],input[type="tel"],input[type="email"],input[type="date"],input[type="number"],textarea,select {
		font: inherit;
		padding: 0.5em;
		border: 1px solid black;
		width: 100%;
		background-color: white;
		&:focus {
			border: 1px solid var(--c-blue);
		}
	}

	textarea {
		height: 4lh;
		min-height: 4lh;
		resize: vertical;
	}

	& .input_2cols {
		display: grid;
		grid-template-columns: 1fr 1fr;
		gap: 1em;
		@media(max-width: 30rem) {
			grid-template-columns:1fr;
		}
	}

	& .input_3cols {
		display: grid;
		grid-template-columns: 1fr 1fr 1fr;
		gap: 1em;
		@media(max-width: 39rem) {
			grid-template-columns:1fr;
		}
	}

	.error {
		display: none;
		color: var(--c-red);
	}
}

.sending {
	position: relative;
}

.sending:before {
	content: "Bitte warten,Ihre Anfrage wird verarbeitet. ";
	padding: 1em;
	text-align: center;
	position: absolute;
	inset: 0;
	background-color: #FFFc;
	backdrop-filter: blur(2px);
	display: flex;
	justify-content: center;
	align-items: end;
	padding-bottom: 5em;
}

.sending:after {
	content: "";
	width: 3em;
	height: 3em;
	border: 0.75em solid var(--c-red);
	border-bottom-color: transparent;
	border-radius: 50%;
	display: block;
	box-sizing: border-box;
	animation: spinRotation 1s linear infinite;
	position: absolute;
	left: calc(50% - 1.5em);
	bottom: 1em;
}

@keyframes spinRotation {
	0% {
		transform: rotate(0deg);
	}

	100% {
		transform: rotate(360deg);
	}
}

.serverfehler,.erfolgreich {
	display: none;
	&.show {
		display: block;
	}
}

header {
	position: sticky;
	top: 0;
	width: 100%;
	z-index: 100;
	border-bottom: 2px solid transparent;
	padding: 1em 0;
	transition: var(--t-std); 
	background-color: white; 
	

	&>div {
		gap: 0 2em;
		display: grid;
		grid-template-columns: 1fr auto 1fr;


		@media(max-width: 62rem) {
			grid-template-columns: 1fr auto auto; 
		}
		@media(max-width: 30rem) {
			grid-template-columns: 1fr auto; 
		}
	}

	& .logo {
		align-self: center;
		justify-self: start;
		transition: var(--t-std);
		transition-behavior: allow-discrete;
		& img {
			filter: brightness(0) invert(1);
		}

		@media(max-width: 30rem) {
		}
	}

	& .logo img {
		transition: all 0.3s ease;
		width: 256px;
		margin: 0 auto;
		@media(max-width: 48rem) {
			width:30vw;
		}

		@media(max-width: 30rem) {
			width:50vw;
		}
	}

	& .nav-toggle {
		border: 1px solid var(--c-teal);
		border-radius: 100%;
		justify-self: end;
		align-self: center;
		aspect-ratio: 1;
		display: none; 
		flex-direction: column;
		justify-content: space-between;
		align-items: center;
		padding: 0.9em 0.66em;
		cursor: pointer;
		transition: var(--t-std);
		width: 3em;
		font-size: inherit;
		background: transparent;
		
		& span {
			background-color: var(--c-teal);
			width:100%;
			height: 1px;
			transition: var(--t-std);
		}

		&:hover {
			background-color: var(--c-dark);
		}
		@media(max-width: 62rem){
			display: flex; 
		}
		
	}

	& .nav-close{
		display: none;
	}
			
	& nav{
		align-self: center; 
		
		& menu{
			list-style-type: none;
			display: flex;
			margin: 0;
			padding: 0;
			gap: 2em;
			text-transform: uppercase; 
			text-align: center;
			align-items: center;
			
			& li{
				position: relative;
				
				& a{
					text-decoration: none; 
					display: block;
					line-height: 1.1;				
					letter-spacing: 0.03em;

				}
				&:after{
					content: ""; 
					position: absolute; 
					width: 100%; 
					height: 2px; 
					background-color: var(--c-teal); 
					transform: scaleX(0%);
					top: calc(100% + 4px); 
					left: 0; 
					transition: var(--t-std); 
				}
				&:has(a:hover,>a.active):after{
					transform: scaleX(100%);
				}
				
			}
		}
		
		
	}
	
	& .links{
		align-self: center; 
		justify-self: end; 
		
		display: flex; 
		gap: 1.5em; 
		align-items: center; 
		
		&>a:not(.btn){
			font-size: 1.5em; 
			filter: var(--cf-teal); 
			transition: var(--t-std); 
			line-height: 0;
			
			&:hover{
				scale: 1.2; 
				filter: var(--cf-dove); 
			}
		}
		
		@media(max-width: 62rem){
			gap: 1em; 
			font-size: 0.8em;
		}
		@media(max-width: 30rem){
			display: none; 
		}
	}
			
	@media(max-width: 62rem){
		
		& #nav{
			display: none; 
		}

		& #popovernav {
			overflow: auto;
			transition: var(--t-std);
			list-style: none;
			padding: 0;
			text-transform: uppercase;
			font-weight: 700;
			font-family: "Teko";
			text-align: center;
			height: 100vh;
			display: flex;
			height: 100dvh;
			background-color: var(--c-teal);
			border: 0;
			transform: translateX(100%);
			margin-right: 0;
			flex-direction: column;
			padding: 1.5em;
			gap: 1.5em;
			align-items: center;
			position: fixed;
			height: 100%;
			
			& .links{
				font-size: 1em;
				&>a:not(.btn){
					filter: invert(1);
				}
				
			}
			
			& menu {
				font-size: 1.5em;
				list-style: none;
				margin: 0;
				padding: 0;
				display: flex; 
				flex-direction: column; 
				gap: 0.5em; 
				align-items: center; 
			}
			
			& .links{
				display: flex; 
				flex-direction: column; 
				align-items: center; 
			}

			& a {
				text-decoration: none;
				color: white;
				font-family: var(--f-sans);
				letter-spacing: 0.03em;
				
				&.active,&:hover {
					color: var(--c-dove);
				}
			}
			
			& .btn{
				background-color: transparent; 
				border-color: white; 
				
				&:hover{
					background-color: var(--c-dove); 
					border-color: var(--c-dove); 
					color: white; 
				}
			}

			& ul {
				list-style: none;
				padding: 0;
				margin: 0;
				margin-left: 0.5em;
				height: 0;
				overflow: hidden;
				transition: var(--t-std);
			}

			& button {
				cursor: pointer;
				border: none;
				background: transparent;
				font: inherit;
				text-transform: inherit;
				margin: 0;
				padding: 0;
				color: inherit;
				transition: var(--t-std);
				display: flex;
				align-items: center;
				&:hover {
					color: var(--c-red);
				}
				
				&.nav-close{
					display: grid;
					width: 2.5em; 
					aspect-ratio: 1; 
					justify-content: center;
					
					
					& span {
						grid-row: 1; 
						grid-column: 1; 
						background-color: white;
						width: 1.8em;
						height: 1px;
						transition: var(--t-std);
						transform: rotateZ(-45deg);
						
						&:last-child{
							transform: rotateZ(45deg);
						}
					}

					&:hover {
						transform: rotateZ(180deg);
					}				
					
				}
			}

			& button.active+ul {
				height: auto;
			}

			& button+ul: focus-within {
				height:auto;
			}
			
			&:popover-open{

				transform: translateX(0);
				box-shadow: 0 0 10px #000;

			}

			
			&::backdrop{
				background-color: #0000;
				transition: var(--t-std);
				backdrop-filter: blur(0px);
			}
			
			&:popover-open::backdrop {
				background-color: color-mix(in srgb, var(--c-dark), transparent);
				backdrop-filter: blur(4px);
			}
			
			@starting-style {
				&:popover-open::backdrop {
					background-color: #0000;
					backdrop-filter: blur(0px);
				}
			}		
			
			
		}

	}
	
	.soc-links {
		justify-self: end;
		align-self: center;
		display: flex;
		gap: 1em;
		& a {
			color: white;
			background-color: var(--c-red);
			aspect-ratio: 1;
			width: 3em;
			display: flex;
			justify-content: center;
			align-items: center;
			text-decoration: none;
			border-radius: 100%;
			transition: var(--t-std);
			& i {
				font-size: 1.25em;
			}

			&:hover {
				scale: 1.1;
				background-color: var(--c-blue);
			}

			@media(max-width: 62rem) {
				width:2em;
				& i {
					font-size: 1em;
				}
			}
		}

		@media(max-width: 30rem) {
			flex-direction:column;
			gap:0.5em;margin-bottom:0;& a {
				width: 1.5em;
			}
		}
	}

	& .logo {
		& img {
			width: 140px;
			filter: brightness(1) invert(0);
		}
	}

	&.sticky {
		box-shadow: 0 0 10px #000;
		& .logo {
			& img {
				width: 100px;
				/*filter: brightness(1) invert(0);*/
			}
		}
	}

	&.sticky {
		
	}

}


.introstart {
	min-height: calc(100vh - 170px);
	min-height: calc(100dvh - 170px);
	display: grid;
	grid-template-rows: 1fr auto;
	border-radius: var(--br-std);
	overflow: hidden;
	
	& .img-slideshow { 
		grid-row: 1;
		grid-column: 1;
		position:relative;
		display:flex; 
		overflow: hidden; 
		display: grid; 
		z-index: 1;
		
		& .item{
			grid-row: 1;
			grid-column: 1;
			position: relative;
			width: 100%; 
			flex-shrink: 0;
			opacity: 0; 
			
			& img {
				position: absolute;
				inset: 0;
				width: 100%;
				height: 100%;
				object-fit: cover;
				object-position: center center;
			}
			
			&.start{
				opacity: 1; 
			}
			&.show{
				opacity: 1; 
				transition: var(--t-opacity);
			}
			
		}
	}

	& .claim{
		z-index: 1;
		display: flex;
		flex-direction: column; 
		justify-content: center;
		align-items: center;
		color: white; 
		grid-row: 1;
		grid-column: 1;
		display: grid;
		grid-template-rows: 1fr 1fr;
		background: linear-gradient(180deg, transparent, #000a);
		z-index: 2;
		
		&>div{
			grid-row: 2;
			margin: 4em 1em;
			text-align: center; 
		}
		& h1{
			
		}
	}
}

.imgleft {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: calc(2 * var(--gap));
	margin: 2em 0;
	& .text-holder {
		align-self: center;
	}

	& .img-holder {
		align-self: center;
	}

	& .akk-holder {
		align-self: center;
	}

	@media(max-width: 62rem) {
		grid-template-columns:1fr;
	}

	@media(max-width: 48rem) {
		& .text-holder {
			padding-right:2em;
		}
	}

	@media(max-width: 39rem) {
		& .text-holder {
			padding-right:1em;
		}
	}
}

.regtext {
	padding-block:4em;& table {
		margin-bottom: 1em;
		& td {
			vertical-align: top;
		}
	}

	&+.regtext {
		padding-top: 0;
	}
}

.servpop {
	background-color: white;
	opacity: 0;
	transition: var(--t-std);
	scale: 0;
	position: fixed;
	inset: 0;
	transition-behavior: allow-discrete;
	max-width: calc(100% - 2em);
	width: calc(var(--width) - 2 * var(--inner));
	width: 960px; 
	text-align: left;
	filter: drop-shadow(2px 4px 6px black);
	border: 0.25em solid var(--c-gold);
	overflow: visible;
	padding: 0;
	background-position: center center;
	background-size: cover;
	
	&>div {
		overflow: auto;
		max-height: calc(100vh - 4em);
		max-height: calc(100dvh - 4em);
		padding: 1.5em 1.5em 1.5em 1.5em;
		overscroll-behavior: contain;
		background-position: center center;
		background-repeat: repeat;
		&>:last-child {
			margin-bottom: 0;
		}
	}

	&:popover-open {
		opacity: 1;
		scale: 1;
		@starting-style {
			opacity: 0;
			scale: 0;
		}
	}

	&::backdrop {
		background-color: #0000;
		transition: var(--t-std);
	}

	&:popover-open::backdrop {
		background-color: #0006; 
		backdrop-filter: blur(4px);
		@starting-style {
			background-color: #0000;
			backdrop-filter: blur(0px);
		}
	}

	& h5 {
		margin-block: 0.75em 0.25em;
	}

	& ul {
		margin-top: 0;
	}

	&>.btn-close {
		position: absolute;
		width: 4em;
		aspect-ratio: 1;
		right: 0;
		top: 0;
		border: none;
		border-radius: 100%;
		display: grid;
		align-items: center;
		justify-items: center;
		padding: 0;
		cursor: pointer;
		background-color: var(--c-gold);
		transition: all 0.3s ease;
		transform: translate(50%,-50%);
	}

	&>.btn-close:hover {
		transform: translate(50%,-50%) scale(1.2);
	}

	& img {
		display: inline-block;
	}
	
	& h3{
		margin-bottom: 0.75em; 
	}
	
	& .items{
		display: flex; 
		flex-direction: column; 
		gap: 1em; 
		
		&>.item{
			display: grid; 
			padding-bottom: 1em; 
			margin-bottom 1em; 
			grid-template-columns: 1fr auto; 
			gap: 0.5em 1em; 
			
			&:not(:last-child){
				border-bottom: 1px solid var(--c-gold);  
			}
			
			& h4{
				font-size: 1.75rem; 
				grid-column: 1; 
				@media (max-width: 30rem) {
					font-size: 1.4rem;
				}
			}
			
			& a{
				grid-row: 2; 
				grid-column: 2; 
				align-self: start;
				justify-self: end;
			}
			& p{
				grid-row: 2; 
				grid-column: 1;  
				margin-bottom: 0;
				align-self: center;
			}
			& p.price{
				grid-row: 1;
				grid-column: 2;
				margin-bottom: 0.5em;
				text-align: right;
				align-self: end;
				font-weight: 700;
				margin-bottom: 0; 
			}
			@media(max-width: 62rem){
				
				& h4{
					grid-column: span 2; 
				}
				& p{
					grid-row: 3; 
				}
				& p.price{
					grid-row: 2;
				}
				& a{
					grid-row: 3; 
				}
			}
			@media(max-width: 39rem){
				gap: 1em; 
				
				& h4{
					margin-bottom: 0; 
				}
				& p{
					grid-row: 2; 
					grid-column: span 2; 
				}
				& p.price{
					grid-row: 3;
					grid-column: 1; 
				}
				& a{
					grid-row: 3; 
				}
			}
			@media(max-width: 25rem){
				display: flex; 
				flex-direction: column; 
				align-items: start; 
				gap: 0.5em; 
				& a{
					align-self: end; 
				}
				& p{
					align-self: start;
				}
				& p.price{
					align-self: start;
				}
			}
		}
	}
	
	.articlegroup{
		&:not(:first-child){
			margin-top: 2em;
			border-top: 3px double var(--c-gold);
			padding-top: 2em;	

		}

		& h3{
			text-transform: uppercase; 
		}
	}
}

.servpop>.btn-close:before,.servpop>.btn-close:after {
	content: "";
	width: 66%;
	height: 1px;
	background-color: white;
	grid-row: 1;
	grid-column: 1;
	transform: rotateZ(45deg);
}

.servpop>.btn-close:after {
	transform: rotateZ(-45deg);
}

[popover] {
	color: inherit;
}

body:has(:popover-open) {
	overflow: hidden;
}

details {
	overflow: hidden;
	margin-bottom: 1em;
	& summary {
		display: flex;
		gap: 0em;
		flex-direction: column;
		padding: 0.66em 1em;
		position: relative;
		display: flex;
		flex-direction: row;
		justify-content: space-between;
		align-items: center;
		cursor: pointer;
		margin: 0;
		list-style: none;
		width: 100%;
		background-color: var(--c-red);
		color: white;
		transition: var(--t-std);
		& h3 {
			padding: 0.125em 0 0;
			margin: 0;
		}

		&:hover {
			background-color: var(--c-blue);
		}

		&::-webkit-details-marker {
			display: none;
		}
	}

	& .content {
		display: flex;
		gap: 1em;
		flex-direction: column;
		padding: 1em 1em 0em 1em;
	}

	&::details-content {
		block-size: 0;
		transition: var(--t-std);
	}

	&:open::details-content {
		block-size: auto;
	}

	&:open {
		& summary {
			background-color: var(--c-blue);
		}
	}
}

@supports (-webkit-hyphens: none) {
	details::details-content {
		height:auto;
	}
}

details summary:after {
	color: white;
	content: "\f0d7";
	font-family: FontAwesome;
	margin-left: 0.5em;
	font-size: 1em;
	display: inline-block;
	border-radius: 100%;
	display: flex;
	aspect-ratio: 1;
	height: 1em;
	transform: translateY(-0.1em);
	transition: var(--t-std);
	align-content: center;
	align-items: center;
	justify-content: center;
}

details[open] summary:after {
	transform: rotateX(180deg);
}

.akk-holder details summary h3 {
	font-size: 1.5rem;
}

.galtext {
	& .text-holder {
		padding: 2em 0 2em var(--gap);
		align-self: center;
		@media(max-width: 62rem) {
			grid-column:content;
			padding-inline:0;}
	}

	& .gal-holder {
		padding: 0 var(--gap) 0 0;
		display: grid;
		grid-template-columns: 1fr 1fr;
		grid-template-rows: 50% 50%;
		& button {
			border: none;
			background: transparent;
			display: flex;
			margin: 0;
			padding: 0;
			font: inherit;
			cursor: pointer;
			& img {
				object-fit: cover;
				height: 100%;
				width: 100%;
			}
		}

		@media(max-width: 62rem) {
			grid-column:full;
			padding-inline:0;& img {
				height: 33vw;
			}
		}
	}
}

.gal-holder>*:nth-child(2n) img.animIn {
	transition-delay: 0.75s;
}

.textimgr {
	display: grid;
	grid-template-columns: 3fr 2fr;
	justify-content: center;
	align-items: center;
	gap: 2em;
	&>div>*: last-child {
		margin-bottom:0;
	}

	@media(max-width: 75rem) {
		display:flex;
		flex-direction:column;&>div:last-child img {
			width: 400px;
		}
	}
}

footer {
	background-color: var(--c-teal); 
	color: white; 
	padding-block: 3em; 
	text-align: center; 
	
	& a{
		text-decoration: none; 
		
		&:has(>.icon):hover{
			scale: 1.2; 
		}
		
		&:not(:has(>.icon)):hover{
			text-decoration: underline; 
			text-decoration
		}
	}
	
	&>div{
		gap: 1em; 
		display: flex; 
		flex-direction: column; 
		align-items: center; 
	
		& .logo{
			filter: brightness(0) invert(1); 
			width: 180px;
			margin-bottom: 0.5em; 
		}
	
		& address{
			font-style: normal; 
			
		}
		
		& .links{
			margin-top: 1em; 
			font-size: 1.5em; 
			filter: invert(1);
			display: flex;
			justify-content: center;
			gap: 1em;
		}
		
		& .soc{
			font-size: 1.5em; 
			filter: invert(1);
			display: flex;
			justify-content: center;
			gap: 1em;
		}
	}
}


.intro{
	background-color: var(--c-dove); 
	margin: 4em 0 12em;
	color: white; 
	position: relative; 
	
	&>div{
		display: grid; 

		gap: 2em 4em;
		grid-template-columns: 1fr 2fr;
		
		padding-block: 4em 10em;
		
		@media(max-width:62rem){
			grid-template-columns: 1fr;
			
		}
	}
		
	& .leftside>img{
		border-radius: var(--br-std); 
	}
	
	.deko{
		top: 100%;
		position: absolute;
		bottom: 0;
		right: 50%;
		transform: translateX(50%) translateY(-50%);
		display: block;
		padding: 0;
		aspect-ratio: 2;
		padding: 2em;  
		display: flex; 
		width: 16em; 
		height: 16em; 
		background-color: white; 
		border-radius: 100%; 
		
		& img{
			width: 100%; 
			aspect-ratio: 1; 
		}
	}
}

.services{
	margin-bottom: 6em; 
	
	&>.items{
		display: grid; 
		grid-template-columns: 1fr 1fr 1fr 1fr; 
		gap: 2em; 
		margin-top: 4em; 
		
		&>.item{
			display: grid; 
			grid-column: span 2; 
			grid-template-columns: subgrid; 
			gap: 0; 
			
			&:nth-child(3),&:nth-child(4){
				&>.text-holder{
					grid-column: 1; 
				}
			}
			
			&>.text-holder{
				padding: 1.5em;  
				grid-row: 1; 
			}
			&>.icon-holder{
				grid-row: 1; 
				background-color: var(--c-teal); 
				border-radius: var(--br-std); 
				display: flex; 
				align-items: center; 
				justify-content: center; 
				padding: 2em 0;
				
				&>.icon{
					filter: invert(1); 
					font-size: 8em; 
				}
			}
		}
		
		@media(max-width: 75rem){
			grid-template-columns: 1fr 1fr; 
			
			
			&>.item{
				&:nth-child(2n){
					&>.text-holder{
						grid-column: 1; 
					}
				}
				&:nth-child(2n+1){
					&>.text-holder{
						grid-column: unset; 
					}
				}
				&>.text-holder{
					hyphens: auto; 
				}
				
			}
		}
		@media(max-width: 30rem){
			grid-template-columns: 1fr; 
			
			
			&>.item{
				display: flex; 
				flex-direction: column; 
				
			}
		}
		
	}
	

	
}


.quote {
	background-attachment: fixed;
	/*background-attachment: unset;*/	
	background-size: cover;
	background-repeat: no-repeat;
	background-position: center;
	position: relative;
	color: white;
	filter: saturate(0.6) brightness(1.05);
	min-height: 47vw;
	width: 100%;

	& p{
		max-width: 75ch; 
	}

	& h3{
		font-size: 1rem; 
		font-weight: 400; 
		text-transform: uppercase; 
		margin-bottom: 0.5em; 
		color: white; 
	}
	
	& > div {
		align-self: end;
		filter: drop-shadow(0px 0px 10px #0008) drop-shadow(0px 0px 40px #0008);
		padding: 8em 0; 
		z-index: 2; 
		position: relative; 
	}	
	
	&:before{
		content: ""; 
		width: 100%; 
		height: 100%; 
		background-color: #0006; 
		position: absolute; 
		z-index: 1; 
	}
	
}
/* Mobile Safari only */
@supports (-webkit-touch-callout: none) {
	.quote {
		background-attachment: unset;
	}
}
/* Safari only */
@supports (-webkit-hyphens:none) {
	.quote {
		background-attachment: unset;
	}
}


.textimgright{
	margin-block: 4em; 
	
	display: grid; 
	gap: 4em; 
	grid-template-columns: 1fr 1fr; 
	
	align-items: center; 
	
	& .rightside>img{
		border-radius: var(--br-std); 
	}
	
	@media(max-width:62rem){
		display: flex; 
		flex-direction: column-reverse; 
	}
}



.cta{
	position: relative; 
	padding-block: 4em; 
	
	&>img{
		position: absolute;
		inset: 0;
		object-fit: cover;
		grid-column: unset;
		width: 100%;
		height: 100%;
		z-index: 0;
	}
	&>div{
		position: relative;
		
		display: flex; 
		justify-content: center; 
		
		&>.text-holder{
			background-color: white; 
			margin-bottom: 4em; 
			padding: 2em; 
			align-content: center;
			border-radius: var(--br-std); 
			border-bottom-right-radius: 0; 
			max-width: 45ch;
			flex-basis: 50%; 
			
			& .links{
				display: flex; 
				flex-direction: column; 
				font-size: 1.25em; 
				gap: 0.5em; 
				
				& a {
					text-decoration: none; 
					color: var(--c-teal); 
					display: flex; 
					align-items: center; 
					gap: 0.25em; 
					
					& i{
						filter: var(--cf-teal);
						transition: var(--t-std); 
						flex-shrink: 0; 
					}
					&:hover>i{
						scale: 1.2; 
					}
				}
			}
		}
		&>.img-holder{
			margin-top: 4em;
			align-self: end;
			border-radius:var(--br-std); 
			border-top-left-radius: 0; 
			overflow: hidden; 
			max-width: 45ch;
			flex-basis: 50%; 
		}
		
		
		@media(max-width: 62rem){
			flex-direction: column; 
			
			&>.img-holder{
				margin-top: 0;
				margin-right: 4em; 
				justify-self: end;
				border-radius: var(--br-std); 
				border-top-right-radius: 0; 
				align-self: center;
			}
			&>.text-holder{
				margin-left: 4em; 
				border-radius: var(--br-std); 
				border-bottom-left-radius: 0; 
				margin-bottom: 0; 
				align-self: center;
			}
		}
		@media(max-width: 30rem){
			
			&>.img-holder{
				margin-right: 0em; 
				border-radius: var(--br-std); 
				border-top-right-radius: 0; 
				border-top-left-radius: 0; 
			}
			&>.text-holder{
				margin-left: 0em; 
				padding: 1.5em; 
				border-radius: var(--br-std); 
				border-bottom-right-radius: 0; 
				border-bottom-left-radius: 0; 
			}
		}
	}
	
}

.contact{
	display: grid; 
	grid-template-columns: 1fr 1fr; 
	gap: 2em 4em; 
	
	@media(max-width: 62rem){
		grid-template-columns: 1fr; 	
	}

	& .links{
		display: flex; 
		flex-direction: column; 
		font-size: 1.25em; 
		gap: 0.5em; 
		
		& a {
			text-decoration: none; 
			color: var(--c-teal); 
			display: flex; 
			align-items: center; 
			gap: 0.25em; 
			
			& i{
				filter: var(--cf-teal);
				transition: var(--t-std); 
				flex-shrink: 0; 
			}
			&:hover>i{
				scale: 1.2; 
			}
		}
	}	
	
}


.extwrapper {
	display: grid;
	background-color: white;
}

.extwrapper.extmap {
	width: 100%;
	overflow: auto;
	border: 1px solid var(--c-dove);
	margin-block: 0;
}

.extwrapper>* {
	grid-column: 1;
	grid-row: 1;
}

.extwrapper.extmap>.extcontent {
	width: 100%;
	display: none;
	aspect-ratio: 3/2; 
	align-self: stretch;
}

.extwrapper.extmap .extpreview {
	opacity: 0.2;
	z-index: 2;
	background-size: cover;
	background-position: center center;
	position: relative; 
	background-image: url('/upload/images/mappreview.svg');
}

.extwrapper.extmap .extactivate {
	z-index: 3;
	text-align: center;
	/* padding: 2em; */
	/* align-self: center; */
	display: grid;
	justify-content: center;
	align-items: center;
	align-content: center;
	width: 100%; 
	min-height: 300px;
}

.extwrapper.extmap .extactivate>div {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: var(--gap);
	justify-content: start;
	height: 100%;
	overflow: auto;
	padding: 2em;
}

.extwrapper button{
	font-family: inherit; 
}


.leistungen{
	& .items{
		margin-top: 3em; 
		display: grid;
		gap: 2em; 
		grid-template-columns: 1fr 1fr; 
		
		
		& .item{
			border-radius: var(--br-std);
			background-color: var(--c-dove); 
			color: white; 
			padding: 1.5em; 
			
			& h2{
				color: white; 
			}
			
			&:nth-child(2),&:nth-child(3),&:nth-child(6),&:nth-child(7){
				
				background-color: var(--c-teal); 
			}
		}
		
		
		@media(max-width: 62rem){
			grid-template-columns: 1fr; 
			
		
		& .item{
			&:nth-child(2),&:nth-child(3),&:nth-child(6),&:nth-child(7){
				background-color: var(--c-dove); 
			}
			&:nth-child(2n){
				background-color: var(--c-teal);
			}
			
		}	
		
		
	}
	
}