
@font-face {
  font-display: swap; 
  font-family: 'Caveat';
  font-style: normal;
  font-weight: 400;
  src: url('../fonts/caveat-v23-latin-regular.woff2') format('woff2'); 
}
@font-face {
  font-display: swap; 
  font-family: 'Source Serif 4';
  font-style: normal;
  font-weight: 200;
  src: url('../fonts/source-serif-4-v14-latin-200.woff2') format('woff2'); 
}
@font-face {
  font-display: swap; /
  font-family: 'Source Serif 4';
  font-style: normal;
  font-weight: 300;
  src: url('../fonts/source-serif-4-v14-latin-300.woff2') format('woff2'); 
}
@font-face {
	font-display: swap;
	font-family: 'Source Serif 4';
	font-style: normal;
	font-weight: 400;
	src: url('../fonts/source-serif-4-v14-latin-regular.woff2') format('woff2');
}

@font-face {
	font-display: swap;
	font-family: 'Source Serif 4';
	font-style: normal;
	font-weight: 500;
	src: url('../fonts/source-serif-4-v14-latin-500.woff2') format('woff2');
}

@font-face {
	font-display: swap;
	font-family: 'Source Serif 4';
	font-style: normal;
	font-weight: 600;
	src: url('../fonts/source-serif-4-v14-latin-600.woff2') format('woff2');
}

@font-face {
	font-display: swap;
	font-family: 'Source Serif 4';
	font-style: normal;
	font-weight: 700;
	src: url('../fonts/source-serif-4-v14-latin-700.woff2') format('woff2');
}

@font-face {
	font-display: swap;
	font-family: 'Raleway';
	font-style: normal;
	font-weight: 400;
	src: url('../fonts/raleway-v37-latin-regular.woff2') format('woff2');
}

@font-face {
	font-display: swap;
	font-family: 'Raleway';
	font-style: normal;
	font-weight: 500;
	src: url('../fonts/raleway-v37-latin-500.woff2') format('woff2');
}

@font-face {
	font-display: swap;
	font-family: 'Raleway';
	font-style: normal;
	font-weight: 600;
	src: url('../fonts/raleway-v37-latin-600.woff2') format('woff2');
}

@font-face {
	font-display: swap;
	font-family: 'Raleway';
	font-style: normal;
	font-weight: 700;
	src: url('../fonts/raleway-v37-latin-700.woff2') format('woff2');
}

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

:root {
	--c-dark: #2c2c2b;
	--c-gold: #847239;
	--c-semidark: #77756e;
	
	--f-serif: "Source Serif 4", serif;
	--f-sans: "Raleway", sans-serif;
	--f-hand: "Caveat", serif;
	
	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;
	}
}

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

hgroup {
	display: flex;
	flex-direction: column-reverse;
	& p {
		font-weight: bold;
		color: var(--c-red);
	}

	& date {
		margin-block: 0.5em;
		text-align: right;
	}
}
hr{
	border: 1px solid var(--c-gold);
	border-bottom: none;
	margin: 3em 0;
}
.btn {
	border: 1px solid white;
	border-radius: 0;
	color: white;
	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-serif);
	background: transparent; 
	margin-block: 0.25em;
	display: inline-flex; 
	gap: 0.5em; 
	align-items: center; 
	width: fit-content; 
	
	&>i{
		flex-shrink: 0; 
	}
	&:hover {
		background: white;
		color: black;
		
		&>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;
		}

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

	}
}

.btn.btn-dark.btn-right:after {
	border-right-color: black;
	border-top-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-serif);
	font-weight: 600;
	margin-bottom: 0.33em;
	line-height: 1.2;
	text-wrap: balance;
	margin-top: 1em;
}

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

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

h2 {
	font-size: 2.75em;
	
	&.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:2.25rem;
	}
	@media(max-width: 30rem) {
		font-size:1.8rem;
	}
}

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

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

h5 {
	font-size: 1.75rem;
	@media(max-width: 39rem) {
		font-size:1.75rem;
	}
	@media(max-width: 30rem) {
		font-size:1.2rem;
	}
}

h6 {
	font-size: 1.5rem;
	@media(max-width: 30rem) {
		font-size: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;
	}
}

.start header {
	background-color: transparent;
	border-color: transparent;
	box-shadow: none;
	position: fixed;
	& .logo {
		& img {
			width: 180px;
			filter: brightness(0) invert(1);
		}
	}
}

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

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

	}

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

		@media(max-width: 30rem) {
			justify-self:end;
		}
	}

	& .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: none;
		border-radius: 100%;
		justify-self: end;
		align-self: center;
		aspect-ratio: 1;
		display: flex;
		flex-direction: column;
		justify-content: space-between;
		align-items: center;
		padding: 1em;
		cursor: pointer;
		transition: var(--t-std);
		width: 3.66em;
		font-size: inherit;
		background: transparent;
		& span {
			background-color: white;
			width:2em;
			height: 1px;
			transition: var(--t-std);
		}

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

	nav {
		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-dark);
		border: 0;
		transform: translateX(100%);
		margin-right: 0;
		flex-direction: column;
		padding: 1.5em;
		gap: 1.5em;
		align-items: center;
		
		& 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.125em;
			
			&.active,&:hover {
				color: var(--c-gold);
			}
		}

		& 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 {
		background-color: var(--c-dark);
		box-shadow: 0 0 10px #000;
		& .logo {
			& img {
				width: 140px;
				/*filter: brightness(1) invert(0);*/
			}
		}
	}

	&.sticky {
		
	}

}


.introstart {
	min-height: 100vh;
	min-height: 100dvh;
	display: grid;
	grid-template-rows: 1fr auto;
	
	& .img-holder {
		grid-row: 1 / -1;
		grid-column: 1 / -1;
		position:relative;
		& img {
			position: absolute;
			inset: 0;
			width: 100%;
			height: 100%;
			object-fit: cover;
			object-position: center center;
		}
	}


	& .book {
		z-index: 1;
		background-color: #2c2c2b;
		color: white;
		padding: 1.5em 0;
		font-family: var(--f-serif);
		
        & p{
            margin-bottom:0;
			gap: 1em 2em;
            display: flex;
            justify-content: space-between;
            align-items: center; 
			
			@media(max-width:39rem){
				flex-direction: column;  
			}
        }
		
		&>div {
			max-width: calc(var(--width) - var(--inner));
			width: 100%; 
			
			gap: 1em 2em;
			display: flex;
			justify-content: space-between;
			align-items: center;
			font-size: 1.05em;
			margin: 0 auto;
	
			& .address {
				font-style: italic;
				display: flex;
				
				& .icon{
					width: 1.25em; 
					margin-right: 0.33em;
					flex-shrink: 0; 
					
				}
			}
			@media(max-width:105rem){
				max-width: unset; 
			}
			@media(max-width:39rem){
				flex-direction: column;  
			}
		}
		& .links{
			display: flex; 
			gap: 1.5em; 
		}
	}
	& .claim{
		z-index: 1;
		margin-block: 8em 6em;
		display: flex;
		justify-content: center;
		align-items: center;
		color: white; 
		grid-row: 1;
		
		& h1{
			display: grid; 
			grid-template-columns: 1fr auto 1fr; 
			flex-direction: column; 
			text-align: center; 
			margin: 0; 
			position: relative;
			
			&>:first-child{
				font-style: italic; 
				font-weight: 300; 
				display: grid; 
				grid-row: 1; 
				grid-column: 1 / -1;
				grid-template-columns: subgrid; 
				grid-template-rows:subgrid; 
				
				&>span{
					font-family: var(--f-serif);
					padding: 0.5em 1em;
					grid-column: 2; 
					font-weight: 400; 
					@media(max-width: 30rem){
						font-size: 8.5vw;
					}
				}
				
				&:before{
					content: ""; 
					border-left: 1px solid white; 
					border-top: 1px solid white; 
					height: 50%;
					align-self: end;
				}
				&:after{
					content: ""; 
					border-right: 1px solid white; 
					border-top: 1px solid white; 
					height: 50%;
					align-self: end;
				}
			}
			&>:last-child{
				grid-column: 1 / -1; 
				grid-row: 2; 
				text-align: center; 
				display: flex; 
				flex-direction: column; 
				
				&>span{
						
					font-size: 2.125em; 
					font-family: var(--f-sans);
					text-transform: uppercase; 
					letter-spacing: 0.2em; 
					padding: 0.125em 0.25em; 
					grid-column: 2; 
					font-weight: 700;
										
					@media(max-width: 30rem){
						font-size: 17vw;
					}
				}
				
				&:after{
					content: ""; 
					border-left: 1px solid white; 
					border-right: 1px solid white; 
					border-bottom: 1px solid white; 
					height: 0.5em;
				}
			}
			
		}
	}
}

.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);
}
.warning {
	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; 
	}
	
	
}

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

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

[popover] {
	color: inherit;
}

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


.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 {
	z-index: 0;
	position: relative;
	&>.main-footer {
		background-color: var(--c-red);
		padding: 2em 0;
		color: white;
		&>div {
			display: grid;
			grid-template-columns: 4fr 5fr auto;
			grid-template-rows: auto 1fr;
			gap: calc(2*var(--gap));
			@media(max-width: 75rem) {
				grid-column:content;
			}

			@media(max-width: 48rem) {
				gap:2em;
			}

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

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

	& a {
		color: white;
		text-decoration: none;
		&:hover {
			color: var(--c-blue);
		}
	}

	& .fcontact {
		position: relative;
		grid-row: 1/3;
		& p {
			display: block;
			margin-left: 1.25em;
			position: relative;
			margin-bottom: 5px;
			& i {
				position: absolute;
				left: -1.25em;
				top: 3px;
				width: 1em;
				text-align: center;
			}

			&:last-child {
				margin-bottom: 0;
			}
		}

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

		@media(max-width: 39rem) {
			order:unset;
		}

		@media(max-width: 30rem) {
			grid-row:2;
			grid-column:1/-1;}
	}

	& .fnetwork {
		font-size: 2.25em;
		grid-row: 1;
		& p {
			margin-bottom: 0;
		}

		& a {
			line-height: 1;
			margin-right: 0;
			display: inline-block;
		}

		@media(max-width: 39rem) {
			grid-row:unset;
		}
	}

	& .fimp {
		display: flex;
		flex-direction: column;
		align-self: end;
		& p {
			display: flex;
			flex-direction: column;
			margin-bottom: 0;
		}

		@media(max-width: 39rem) {
			text-align:right;
			align-self:end;justify-self:end;}
	}

	& .sub-footer {
		padding: 10px 0;
		& a {
			color: var(--c-blue);
		}
	}

	& .flogo {
		grid-row: 1 /3;
		& img {
			width: 250px;
		}

		@media(max-width: 30rem) {
			grid-row:1;
			grid-column:1 / -1;}
	}

	& h3 {
		font-size: 1.5rem;
	}
}


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

.handwriting{
	color: #05263b;
	font-family: var(--f-hand);
	font-size: 2em;
	line-height: 1;
	margin-left: 0.5em;
	margin-top: 0.33em;
	transform: skewY(-6deg);
	display: inline-block;
	
	&>span{
		margin-left: 1em; 
	}
}

.salon{
	position: relative; 
	z-index: 2; 
	&>div{
		display: grid; 
		grid-template-columns: repeat(20, 1fr);
		
		& .deko{
			background: var(--c-dark);
			grid-row: 1; 
			grid-column: 3/-1; 
			z-index: -2; 
		}
		& .leftside{
			grid-row: 1; 
			grid-column: 1/12; 
			position: relative; 
			margin-block: 4em; 
			
			&>.slidegal{
				position: absolute; 
				height: 100%; 
				width: 100%; 
				inset: 0; 
				display: flex; 
				
				&>.stage{
					position: absolute; 
					height: 100%; 
					width: 100%; 
					inset: 0; 
					display: flex; 
					overflow: hidden; 
					scroll-snap-type: x mandatory;
					
					&>div{
						scroll-snap-align: start;
						width: 100%; 
						height: 100%; 
						flex-shrink: 0; 
					}
				}
				
				& .btns{
					position: absolute; 
					bottom: 1em; 
					right: 1em; 
					display: grid;
					gap: 1em; 
					grid-template-columns: 1fr 1fr; 
					
					&>button{
						font-size:3em; 
						height: 1em;
						aspect-ratio: 1;
						background: transparent; 
						border: 1px solid transparent; 
						cursor: pointer; 
						transition: var(--t-std); 
						background-color: var(--c-gold); 
						line-height: 1;
						padding: 0; 
						display: flex;
						justify-content: center;
						align-items: center;
						
						&:after {
							content: "";
							width: 0.5em;
							aspect-ratio: 1;
							border: 1px solid white;
							display: inline-block;
							transform: translateX(-25%) rotate(45deg);
							border-left: 0;
							border-bottom: 0;
							transition: var(--t-std); 
							align-self: center;
							flex-shrink: 0; 
						}
						
						&.btn-prev:after{
							transform: scaleX(-1) translateX(-25%) rotate(45deg);
						}
						
						&:hover{

							&:after {
								border-color: black;
							}							
						}
					}
				}
				
				&[data-current="1"] .btn-prev{
					transform: scale(0);
				}
				&.maxed .btn-next{
					transform: scale(0);
				}
				
				& img{
					width: 100%; 
					height: 100%; 
					object-fit: cover; 
					
					&.bottom{
						object-position: center bottom; 
					}
				}
			}
			& .hairdeko{
				position: absolute; 
				bottom: 100%; 
				left: 0%; 
				width: 80%; 
				transform: translateY(50%);
				z-index: -1; 
			}
		}
		& .rightside{
			grid-row: 1; 
			grid-column: 13/20; 
			color: white; 
			margin-block: 4em; 
		}
		
	}
	@media(max-width: 62rem){
		margin-top: 8em; 
		background: var(--c-dark); 
		display: grid; 
		grid-template-columns: var(--grid);
		
		&>div{
			display:flex; 
			flex-direction: column; 
			grid-column: content; 
			
			& .leftside{
				width: 100%; 
				aspect-ratio: 1; 
				margin-bottom: 0; 
				margin-top: -2em; 
				
				& .hairdeko {
					bottom: calc(100%);
					left: -26%;
					width: 100%;
					transform: translateY(50%);
				}
			}
			& .rightside{
				
				&>div{
				}
			}
		}
	}
}

.vornach{
	
	margin: 0 0 5em;
	display: flex; 
	gap: 2em; 
	align-items: center; 
	
	--itemCnt: 5; 
	--d-gapw: 2em; 

	& .stage{
		display: flex; 
		width: 100%; 
		overflow: hidden; 
		gap: var(--d-gapw); 
		scroll-snap-type: x mandatory;
		
		&>div{
			width: calc((100% - ((var(--itemCnt) - 1) * var(--d-gapw))) / var(--itemCnt));
			flex-shrink: 0;
			scroll-snap-align: start;

		}
		
	}
	

	&>button{
		font-size:3em; 
		height: 1em;
		aspect-ratio: 1;
		background: transparent; 
		border: 1px solid transparent; 
		cursor: pointer; 
		transition: var(--t-std); 
		background-color: var(--c-gold); 
		line-height: 1;
		padding: 0; 
		display: flex;
		justify-content: center;
		align-items: center;
		
		&:after {
			content: "";
			width: 0.5em;
			aspect-ratio: 1;
			border: 1px solid white;
			display: inline-block;
			transform: translateX(-25%) rotate(45deg);
			border-left: 0;
			border-bottom: 0;
			transition: var(--t-std); 
			align-self: center;
			flex-shrink: 0; 
		}
		
		&:first-child:after{
			transform: scaleX(-1) translateX(-25%) rotate(45deg);
		}
		
		&:hover{

			&:after {
				border-color: black;
			}							
		}
	}

	
	&[data-current="1"] .btn-prev{
		transform: scale(0);
	}
	&.maxed .btn-next{
		transform: scale(0);
	}
		
	
	@media(max-width: 105rem){
		
		--itemCnt: 4; 
	}
	
	@media(max-width: 75rem){
		
		--itemCnt: 3; 
	}
	@media(max-width: 48rem){
		
		--itemCnt: 2; 
	}
	@media(max-width: 40rem){
		
		--itemCnt: 1; 
		gap: 1em; 
		
		&>button{
			font-size:2em; 
		}
	}
	
}

.hours{
	list-style: none; 
	margin: 0; 
	padding: 0; 
	display: grid; 
	grid-template-columns: auto 1fr auto; 
	font-size: 1.11em; 
	
	& li{
		display: grid; 
		grid-template-columns: subgrid; 
		grid-column: 1 / -1;
		gap: 0.33em; 
		font-weight: 700; 
		letter-spacing: 0.125em; 
		
		
		&>span:last-child{
			grid-column: 3;
			
		}
		&>span:first-child{
		}
		
		&:after{
			content: ""; 
			grid-column: 2; 
			grid-row: 1; 
			border-bottom: 2px dotted white; 
			height: 1.1em; 
		}
	}
}

.quote{
	
	margin-top: -4em; 
	padding-top: 4em; 
	background: repeating-linear-gradient(0deg, #fff 0px, #F4F4F4 1px, #F4F4F4 5px, #fff 6px, #fff 16px);
	position: relative; 
	z-index: 1; 
	
	& blockquote{
		font-size: 2em; 
		text-align: center; 
		max-width: 50ch; 
		font-family: var(--f-serif); 
		font-weight: 700; 
		font-style: italic; 
		margin: 3em auto; 
		
		@media(max-width: 48rem){
			font-size: 1.5em; 
		}
	}
}

.leistungen{
	padding-block: 4em; 
	
	& .headline{
		display: flex;
		gap: 2em 4em; 
		justify-content: space-between; 
		align-items: end; 
		margin-bottom: 2em; 
		
		& h2{

			margin-bottom: 0; 
		}
		
		& p{
			max-width: 85ch; 
			margin-bottom: 0; 
		}
		
		@media(max-width: 75rem){
			flex-direction: column; 
			align-items: start; 
			
			& p{
				max-width: 100%; 
				margin-bottom: 0; 
			}
		}
	}
	
	& .items{
		display: grid; 
		grid-template-columns: 1fr 1fr 1fr; 
		gap: 1px; 
		background: var(--c-gold); 
		padding: 1px; 
		
		&>.item{
			background: white; 
			padding: 1.5em; 
			display: flex;
			flex-direction: column;
			align-items: start;
			position: relative; 
			
			&.gold{
				background: var(--c-gold); 
				color: white; 
			}
			
			& .btn{

				margin-top: auto;
				
				&:before{
					content: ""; 
					background: transparent; 
					border: none; 
					cursor: pointer; 
					position: absolute; 
					inset: 0; 
					widtH: 100%; 
					height: 100%; 
				}
			}
			
			& h3{
				font-size: 1.11em; 
				font-family: var(--f-sans); 
				font-weight: bold; 
				letter-spacing: 0.1em;

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

.team{

	& h2{
		text-align: center; 
	}
	
	& .teamcenter{
		color: white; 
		background: var(--c-semidark);  
		padding-top: 5em; 
		
		& .item{
			margin-top: 3em; 
			display: grid; 
			grid-template-columns: 1fr 1fr; 
			gap: 4em;	
			
			@media(max-width: 62rem){
				display: flex; 
				flex-direction: column; 
			}
			
		}
		
		& .img-holder{
			position: relative; 
			margin-bottom: -4em; 
				
			@media(max-width: 62rem){

				margin-bottom: 0; 
			}
		}
		
		& .text-holder{
			@media(max-width: 62rem){
				padding-bottom: 3em; 
			}
		}
				
	}
	
	& .teamsingle {
		background: var(--c-semidark); 
		padding-bottom: 4em;
		padding-top: 3em;  
		color: black;
		
		& .item{
			grid-column: 2; 
			margin-top: 2em; 
			display: grid; 
			grid-template-columns: 1fr 1fr; 
			gap: 4em;
			grid-column: inner; 
			padding-inline: 4em; 
			
			@media(max-width: 105rem){
				grid-column: content; 
			}
			
			@media(max-width: 62rem){
				display: flex; 
				flex-direction: column; 
				padding-inline: 0em;
				gap: 2em; 
			}
			
		}
	
		& .text-holder{
			display: flex; 
			flex-direction: column; 
			&>div{
				flex-grow: 10; 
			}
		}

		@media(max-width: 62rem){ 
			padding-top: 2em; 
		}
	}
	
	& p{
		margin-bottom: 1em; 
		font-style: italic; 
	}
	
	& h3{
		font-family: var(--f-sans); 
		font-size: 1.111rem; 
		letter-spacing: 0.125em; 
		margin-bottom: 1em; 
		font-weight: bold; 
		text-transform:uppercase;
		
		&:has(+.function){
			margin-bottom: 0.25em; 
		}
	}
	
	& .function{
		font-family: var(--f-sans); 
		font-size: 1.111rem; 
		letter-spacing: 0.125em; 
		margin-bottom: 1em; 
		color: white; 
		font-style: italic; 
		font-weight: bold; 
		text-transform:uppercase; 
		margin-bottom: 1em; 
		display: block; 
	}
}

.centertext{
	padding-top: 2em; 
	padding-bottom: 2em; 
	
	& h2,& h3{
		text-align: center;  
	}

}

.img-2col{
	margin: 0 auto 4em;
	display: grid; 
	gap: 4em;
	max-width: calc(var(--width) - 3 * var(--inner));
	grid-template-columns: 1fr 1fr;
	
	@media(max-width: 30rem){
		max-width: 100%;
		grid-template-columns: 1fr;
	}
}
	 
		 
.cols2{ 
	columns: 2;
	max-width: calc(var(--width) - var(--inner));
	column-gap: 3em;
	margin: 2em auto;
	
	@media(max-width: 62rem){
		columns: 1; 
	}
}
	
.mitarbeiter{
	padding-top: 1em; 
	 
	& .teamdouble {
		padding-bottom: 4em;
		padding-top: 2em; 
		padding-right: 4em; 
		display: grid;
		grid-template-columns: 1fr 1fr; 
		gap: 4em; 
		
		& .item{
			margin-top: 2em; 
			display: grid; 
			grid-template-columns: 1fr 1fr; 
			gap: 2em;
			
			@media(max-width: 90rem){
				display: flex; 
				flex-direction: column; 
			}
		}
		& .text-holder{
			display: flex; 
			flex-direction: column; 
			&>div{
				flex-grow: 10; 
			}
		}
		& p{
			margin-bottom: 1em; 
			font-style: italic; 
		}
		& h3{
			font-family: var(--f-sans); 
			font-size: 1.111rem; 
			letter-spacing: 0.125em; 
			margin-bottom: 1em; 
			font-weight: bold; 
			text-transform:uppercase;
			
			&:has(+.function){
				margin-bottom: 0.25em; 
			}
		}
		@media(max-width: 90rem){
			padding-left: 4em; 
			padding-top: 2em; 
		}
		@media(max-width: 48rem){
			display: flex; 
			flex-direction: column; 
			padding-inline: var(--gap); 
		}
	}
	
	& .function{
		font-family: var(--f-sans); 
		font-size: 1.111rem; 
		letter-spacing: 0.125em; 
		margin-bottom: 1em; 
		color: white; 
		font-style: italic; 
		text-transform:uppercase; 
		color:var(--c-gold); 
		font-weight: bold; 
		margin-bottom: 1em; 
		display: block; 
	}
	
	

}

.cta{
	display: grid; 
	
	&>.bg{
		grid-row: 1;
		position: relative; 
		
		& img{
			position: absolute; 
			inset: 0; 
			width: 100%; 
			height: 100%; 
			object-size: cover; 
		}
	}
	&>.centerside{
		grid-row: 1;
		position: relative; 
		z-index: 2; 
		padding: 4em 0; 
		color: white; 
		display: grid; 
		gap: 1em 4em; 
		grid-template-columns: 8fr 5fr;  
		
		& .heading{
			grid-column: span 2; 
		}
		
		@media(max-width: 90rem){
			grid-column: content; 
		}
		@media(max-width: 62rem){
			display: flex; 
			flex-direction: column; 
		}
		
	}
	
	& h2{
		text-align: center; 
	}
	
	& h3{
		font-family: var(--f-sans); 
		font-size: 1.111rem; 
		letter-spacing: 0.125em; 
		margin-bottom: 1em; 
		font-weight: bold; 
		text-transform:uppercase;
	}
	
	& .address{
		font-style: italic; 
		display: flex; 
		gap: 0.75em; 
		
		& i{
			font-size: 1.25em; 
		}
	}
	& .book{
		display: flex; 
		flex-direction: column; 
		align-items: start; 
	}
}

footer{
	background: var(--c-dark); 
	display: flex; 
	padding: 2em; 
	gap: 2em; 
	
	justify-content: space-between; 
	align-items: center; 

	& .imp{
		display: flex; 
		flex-direction: column; 
		& a:hover{
			color: var(--c-gold); 
		}
	}
	& .soc{
		display: flex; 
		gap: 0.75em;
		font-size: 1.75em;
		
		& a{ 
	
			display: flex;
			&:hover{
				scale: 1.2; 
			}
		}
	}
	
	@media(max-width: 39rem){
		flex-direction: column; 	
		justify-content: center; 
		align-items: center; 
		& .imp{
			display: flex; 
			flex-direction: column; 
			text-align: center; 
		}
	}
}

.eastereggs{
	display: grid; 
	grid-template-columns: 1fr 3fr; 
	gap: 2em;
	
	&>img{
		align-self: center;  
	}
	
	@media(max-width: 30rem){
		display: flex;
		flex-direction: column;
		gap: 1em;
	
		
		&>img{
			width: 50%; 
		}
	}
}
.eastereggss{
	display: grid; 
	grid-template-columns: 1fr 3fr; 
	gap: 2em;
	padding: 3em 0; 
	
	&>img{
		align-self: center;  
	}
	
	@media(max-width: 30rem){
		display: flex;
		flex-direction: column;
		gap: 1em;
	
		
		&>img{
			width: 50%; 
		}
	}
}

.goldbreak{
	background-color: var(--c-gold);
	color: white; 
	
}
.greybreak{
	background-color: var(--c-semidark);
	color: white;
}