@charset "utf-8";

@font-face {
    font-family: 'Quentin';
    src: url('../fonts/Quentin.ttf') format('truetype');
    font-style: normal;
    font-weight: normal;
    text-rendering: optimizeLegibility;
}

html {
	font-size: 17px;
}

body {
	max-width: 1400px;
	margin: 0 auto;
	font-family: 'Montserrat', sans-serif;
	font-weight: 400;
	color: #445952;
	background-color: #FFFEFB;
}

header {
	height: 100vh;
	margin: 0 20px;
	overflow: hidden;
	display: flex;
	flex-direction: column;
	flex-wrap: nowrap;
	justify-content: space-between;
	align-content: center;
	align-items: center;
}

#logo {
	flex-basis: 140px;
	flex-grow: 0;
	flex-shrink: 0;
	margin-top: 2rem;
	width: 100%;
	text-align: center;
}

#logo img {
	max-width: 373px;
	max-height: 111px;
	width: auto;
	height: auto;
}

#titelbild {
	flex-grow: 1;
	flex-shrink: 1;
	position: relative;
	background: url('../images/titel.jpg') top center;
	background-size: cover;
	width: 100%;
}

.nav-container {
	margin: 2rem 0;
}

nav {
	flex-basis: 3rem;
	flex-grow: 0;
	flex-shrink: 0;
	background-color: #FFFEFB;
}


nav ul {
	margin: 1rem 0;
	padding: 0;
	text-align: center;
}

nav li {
	list-style-type: none;
	display: inline;
	font-size: 1.1rem;
	font-weight: 700;
	letter-spacing: 0.15rem;
	text-transform: uppercase;
	text-align: center;
	padding: 0 0 2px 0;
	margin: 0 1.5rem;
	cursor: pointer;
}

nav li:hover {
	border-bottom: 3px solid #445952;
}

nav a, a:visited {
	color: #445952;
	text-decoration: none;
}

nav.fixed {
	position: fixed;
	top: 0;
	left: 20px;
	right: 20px;
	z-index: 4;
}

#navHamburger {
	display: none;
}

section {
	background-color: #F3EFE5;
	margin: 2rem 1.5vw;
	padding: 4rem 9vw;
}

article {
	background-color: #FFFEFB;
	text-align: left;
	hyphens: auto;
	_overflow: hidden;
    transition: 0.3s ease-in-out;
    backface-visibility: hidden;
	position: relative;
}

article.transparent {
	background-color: #F3EFE5;
}

#angebote article, #partner article {
	padding-bottom: 1.2rem;
}

#referenzen article, .intro {
	background-color: #F3EFE5;
	padding: 0;
	margin: 0 0 3rem 0;
	text-align: center;
}

#referenzen article:last-child {
	margin-bottom: 0;
}

#music {
	margin-top: 1rem;
	padding-bottom: 3rem;
}

h1 {
	font-size: 1.5rem;
	font-weight: 700;
	text-align: center;
	text-transform: uppercase;
	letter-spacing: 0.25rem;
	margin: 0 0 4rem 0;
}

h2 {
	font-size: 1.25rem;
	font-weight: 700;
	text-align: center;
	text-transform: uppercase;
	letter-spacing: 0.25rem;
}

h3 {
	font-size: 1rem;
	font-weight: 700;
	text-align: left;
	padding: 0;
	margin: 0 2rem 0.7rem 2rem;
}

p {
	line-height: 1.6;
	letter-spacing: 0.03rem;
}

b, strong {
	font-weight: 500;
}

a, a:focus, a:active, a:visited {
	color: #EB8480;
	text-decoration: none;
}

ul {
	line-height: 1.5;
	list-style-position: outside;
	padding-left: 3rem;
	text-indent: 0.25rem;
}

.spalten {
	display: flex;
	flex-flow: row wrap;
	justify-content: space-between;
	align-items: stretch;
	margin-top: 4rem;
	margin-bottom: 0rem;
	padding: 0;
	width: 79vw;
	max-width: 997px;
}

.details {
	position: relative;
	display: block;
	margin: 0;
	padding: 0;
	max-height: 0;
	overflow: hidden;
	transition: max-height 0.3s ease-in-out;
	
	z-index: 2;
	width: 79vw;
	max-width: 997px;	
}

.details-3m {
	transform: translateX(-35%);
}

.details-3r {
	transform: translateX(-70%);
}

.details-pointer {
	position: absolute;
	top: 1.0rem;
	transform: translateX(-50%) rotate(45deg);
	background: #FFFEFB;
	width: 2.83rem;
	height: 2.83rem;
}

.details-pointer-2l {
	left: 23.75%;
}

.details-pointer-2r {
	left: 76.25%;
}

.details-3l > .details-pointer {
	left: 15%;
}

.details-3m > .details-pointer {
	left: 50%;
}

.details-3r > .details-pointer {
	left: 85%;
}

.details-content {
	margin-top: 2rem;
	padding-top: 1.5rem;
	background-color: #FFFEFB;
	text-align: left;
	overflow: hidden;
    transition: 0.3s ease-in-out;
    backface-visibility: hidden;
	position: relative;
}

.details-content > h3 {
	text-align: left;
}

.spalte {
}

.halbhalb {
	position: relative;
}

article.halbhalb::before {
	content: "";
	display: block;
	padding-top: 113%;
}

article.halbhalb .container {
}

article figure {
	background-color: #000000;
	margin: 0;
	padding: 0;
	position: relative;
	overflow: hidden;
}

.inhalt {
	position: relative;
	background-color: #FFFEFB;
	padding: 1.7rem 0;

}

figure.alone {
	margin-bottom: 0;
}

article.halbhalb figure {
	height: 50%;
	margin-bottom: 0;
}

article.halbhalb .container {
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
}

article.mehr {
    cursor: pointer;
}

img.mehrsymbol {
	width: 5rem;
	height: 5rem;
	position: absolute;
	margin: 0 -50% 0 0;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	opacity: 0;
    transition: 0.3s ease-in-out;
}

article figure img {
	width: 100%;
	display: block;
	opacity: 1;
    transition: 0.3s ease-in-out;
    backface-visibility: hidden;
}

article.mehr:hover {
	background-color: rgba(0,0,0,0.25);
}

article.mehr:hover img.mehrsymbol {
	opacity: 1;
}

article.mehr:hover figure img {
	opacity: 0.75;
}

.zweiSpalten article, .zweiSpalten .spalte {
	width: 47.5%;
}

.dreiSpalten article {
	width: 30%;
}

article p, .details p {
	margin: 0 2rem 1.7rem 2rem;
}

.angebot {
	background-color: #EB8480;
	color: #DDD8BE;
	font-size: 2rem;
	font-weight: 700;
	text-align: center;
	text-transform: uppercase;
	letter-spacing: 0.25rem;
	padding: 6rem 2rem;	
	margin-bottom: 1rem;
}

.category {
	display: flex;
	align-items: middle;
	display: block;
	position: absolute;
	top: 50%;
}

.cat {
	display: flex;
	height: 50%;
	flex-flow: row wrap;
	justify-content: center;
	align-content: center;
}


.modal {
	display: none;
	position: fixed;
	z-index: 5;
	padding-top: 100px;
	width: 100%;
	height: 100%;
	margin-left: auto;
	margin-right: auto;
	top: 0;
	left: 0;
	overflow: auto;
	background-color: rgba(224,219,196,0.9);
}

.modal-content {
	position: relative;
	width: 1360px;
	margin: auto;
	padding: 20px 0;
}

.modal article {
	position: relative;
	width: 700px;
	margin: auto;
	padding: 0;
}

.modal .close {
	width: 5rem;
	height: 5rem;
	position: absolute;
	top: 0;
	right: 0;
    cursor: pointer;
	transform: rotate(45deg);
}

.musicdemo {
	position: relative;
	height: 6rem;
}

.musictitle {
	position: absolute;
	top: 0.25rem;
	left: 2.5rem;
	color: #EB8480;
	font-weight: 500;
}

.musicduration {
	position: absolute;
	top: 0.25rem;
	right: 0;
	color: #EB8480;
	font-weight: 500;
}

.musicprogressbar {
	width: 100%;
	position: absolute;
	top: 2.25rem;
	background-color: #FFFEFB;
}

.musicbar {
	width: 0%;
	height: 0.21rem;
	background-color: #EB8480;
	transition: all linear 0.25s;
}

.musicbutton {
	height: 27px;
	width: 27px;
	position: absolute;
	cursor: pointer;
}

.play {
	display: block;
}

.pause {
	display: none;
}

.downButton {
	position: absolute;
	bottom: 0;
	height: 14px;
	width: 100%;
	background-color: #F3EFE5;
}

button {
	background: transparent;
	margin: 0 auto;
	padding: 0;
	border: none;
	position: absolute;
	top: -13.5px;
	left: 50%;
	transform-origin: center 13.5px;
	transform: translateX(-50%);
	cursor: pointer;
}

button:focus {
	outline: 0;
}

.showModal {
	color: #EB8480;
	cursor: pointer;
}

.handwriting, #logo .teil2 {
	font-family: Quentin;
	font-weight: normal;
	font-size: 3rem;
	color: #EB8480;
}

#logo {
	color: #EB8480;
	line-height: 1;
	margin-bottom: 1rem;
}

#logo .teil1 {
	font-weight: 700;
	font-size: 3rem;
	letter-spacing: 0.3rem;
	padding-right: 2%;
}

#logo .teil2 {
	font-size: 5rem;
}

.kontaktangaben {
	text-align: left;
	padding-top: 2rem;
}

.kontaktangaben h3 {
	text-align: left;
}

.rotated {
	transform: rotate(180deg);
}

svg {
	transition: all 0.3s ease-in-out;
	transform-origin: 50% 50%;
}

#navHamburger > path {
	transition: all 0.3s ease-in-out;
}

.hamburgerKreuz1 {
	transform: rotate(45deg);
	transform-origin: 26.25% 38.75%;
}

.hamburgerKreuz2 {
	fill: transparent !important;
}

.hamburgerKreuz3 {
	transform: rotate(-45deg);
	transform-origin: 26.25% 61.25%;
}

@media screen and (max-width: 800px) {
	
	html {
		font-size: 14px;
	}
	
}
@media screen and (max-width: 1180px) {

	article {
		margin-bottom: 2rem;
	}
	
	.spalten {
		margin-top: 0;
	}
	
	.zweiSpalten article, .zweiSpalten .spalte {
		width: 100%;
	}
	
	.dreiSpalten article {
		width: 100%;
	}

	.details-3l > .details-pointer, .details-3r > .details-pointer {
		left: 50%;
	}

	.details-3m {
		transform: translateX(0);
	}
	
	.details-3r {
		transform: translateX(0);
	}
	
	#referenzen article {
		padding: 0;
	}

	.intro {
		padding: 0 10%;
	}
	
	header {
		height: auto;
	}
	
	#titelbild {
		display: none;
	}
	
	.nav-container {
		margin: 0;
	}

	nav, nav.fixed {
		position: fixed;
		bottom: 0;
		left: 0;
		right: 0;
		z-index: 4;
		text-align: center;
	}
	
	nav ul {
		max-height: 0;
		overflow: hidden;
		transition: all 300ms;		
		margin: 0;
	}
	
	nav ul.open {
		max-height: 15rem;
		margin-top: 1rem;
	}
	
	nav li {
		display: block;
		padding: 0;
		margin: 0.5rem 0;
	}
	
	nav li:hover {
		border-bottom: none;
	}
	
	nav a, a:visited {
		color: #445952;
		text-decoration: none;
	}
	
	nav.fixed {
		top: auto;
	}
	
	#navHamburger {
		display: inline;
		margin: 1rem auto;
	}
}