*,
body,
html {
  	margin: 0;
	color: black;
	text-decoration: none;
	overflow-x: hidden;
}
@media only screen and (max-width: 768px) {
*,
body,
html {
	overflow-x: hidden;
}
}
h1 {
	font-family: 'Cormorant', serif;
	font-weight: 400;
	font-style: italic;
	font-size: 42px;
	padding: 0.5em 0;
}
h2 {
	font-family: 'Josefin Sans', sans-serif;
	font-weight: 700;
	font-size: 14px;
	letter-spacing: 1px;
	text-transform: uppercase;
	padding: 0.5em 0;
	border-bottom: 1px solid grey;
}
p {
	font-family: 'Cormorant', serif;
	font-size: 18px;
}
span {
	font-family: 'Cormorant', serif;
	font-size: 18px;
}
a {
	text-decoration: none;
	font-family: 'Josefin Sans', sans-serif;
	font-weight: 700;
	font-size: 14px;
}
sup { 
	vertical-align: top; font-size: 0.6em;
}

.spacing {
	margin-bottom: 90px;
}
.l-container {
	margin: 0 auto;
	padding: 10px;
	margin-bottom: 50px;
}
.xl-container {
	margin: 0 auto;
	padding: 10px;
	margin-bottom: 50px;
}
.two-columns-empty {
	display: none;
}


@media only screen and (min-width: 768px) {
.l-container {
	margin: 0 auto;
	padding: 20px;
	max-width: 900px;
	margin-bottom: 90px;
}
.xl-container {
	margin: 0 auto;
	padding: 20px;
	max-width: 1300px;
	max-width: 1100px;
	margin-bottom: 90px;
}
.two-columns {
	column-count: 2;
	column-gap: 40px;
}
.two-columns-empty {
	display: block;
}
p {
	font-size: 18px;
}
}
.highlights {
	text-align: center;
}
.highlights-group {
	padding-top: 20px;
	transform: scale(1);
	opacity: 1;
	transition: 0.4s;
}
.highlight-shrink {
	transform: scale(.5);
	opacity: 0;
}
.highlights-large {
	font-family: 'Cormorant', serif;
	font-weight: 400;
	font-style: italic;
	font-size: 56px;
}
.highlights-line {
	margin: 5px 50px 10px 50px;
	border-bottom: 1px solid grey;
}
.highlights-small {
	font-family: 'Josefin Sans', sans-serif;
	font-weight: 700;
	font-size: 16px;
	letter-spacing: 1px;
	padding: 0.5em 0;
}
.fakten {
	font-family: 'Cormorant', serif;
	font-weight: 400;
	font-style: italic;
	font-size: 42px;
	text-align: center;
}
.grundrisse {
	margin-top: 20px;
	width: 100%;
}
.platzhalter-grundrisse {
	margin-top: 20px;
	width: 100%;
}
.margin-bottom-O {
	margin-bottom: 0px;
}
.magnify {
	cursor: zoom-in;
}

/* ---------- hero & vimeo ---------- */
.hero-container {
	position: relative;
}
.hero {
	position: relative;
	width: 100%;
	margin-top: 80px;
	height: 100vw;
	background: rgb(234, 147, 107);
	background-position: center;
	background-repeat: no-repeat;
	background-size: cover;
	overflow: hidden;
}
.hero-image {
	display: none;
	position: absolute;
	width:100%;
	height:100%;
	object-fit: cover;
	overflow: hidden;
}
.hero-text {
	position: absolute;
	top: 17vh;
	left: 50%;
	transform: translateX(-50%);
}
.rel {
	position: relative;
	overflow: visible;
}

#arrow-down {
	display: block;
	z-index: 9999;
	position: absolute;
	top: 100%;
	left: 50%;
	transform: translate(-50%, -50%);
}
@media only screen and (min-width: 768px) {
	.hero-container {
		height: 100vh;
	}
	.hero {
		margin-top: 0px;
		height: calc(100vh - 20px);
	}
	.hero-text {
		position: absolute;
		top: 30vh;
		left: 50%;
		transform: translateX(-50%);
	} 
	#arrow-down {
		display: block;
		position: absolute;
		left: 50%;
		transform: translate(-50%, -100%);
	}
	#arrow-down:hover {
		cursor: pointer;
	}
	#arrow-down:hover > .arrow-line{
		stroke-width: 3;
	}

}

.vimeo-wrapper {
   position: absolute;
   top: 0;
   left: 0;
   width: 100%;
   height: 100%;
   z-index: 9;
   pointer-events: none;
   overflow: hidden;
   overflow-x: hidden;
}
.vimeo-wrapper iframe {
   width: 100vw;
   height: 56.25vw; /* Given a 16:9 aspect ratio, 9/16*100 = 56.25 */
   min-height: 100vh;
   min-width: 177.77vh; /* Given a 16:9 aspect ratio, 16/9*100 = 177.77 */
   position: absolute;
   top: 50%;
   left: 50%;
   transform: translate(-50%, -50%);
   overflow: hidden;
   overflow-x: hidden;
}
iframe.video-square{
   width: 100vw;
   height: 100vw; /* Given a 16:9 aspect ratio, 9/16*100 = 56.25 */
   min-height: initial;
   min-width: initial; /* Given a 16:9 aspect ratio, 16/9*100 = 177.77 */
   top: 0;
   left: 0;
   transform: translate(0%, 0%);
}

@media only screen and (min-width: 768px) {
	.raus-for-desktop {
		display: none;
	}
}

.video-container {
	position: relative;
	width: 100vw;
	height: 56.25vw;
	overflow: hidden;
}
.video-poster {
	position: absolute;
	width: 100vw;
	height: 56.25vw;
	overflow: hidden;
	background-size: cover;
	background-position: center;
	overflow: hidden;
	z-index: 0;
}
.video-size {
    position: relative;
	width: 100vw;
	height: 56.25vw;
}

/* ---------- slides ---------- */
.slides-container {
	position: relative;
	overflow-x: visible;	
}
.slides-wrapper {
	position: relative;
	padding-top: 62.5%;
	overflow-x: hidden;	
}
.slides {
	position: absolute;
	top: 0;
	width: 100%;	
	height: 100%;
    transition: 0.5s;
}
#arrow-left {
	z-index: 9999;
	position: absolute;
	top: 50%;
	transform: translate(-50%,-50%);
}
#arrow-right {
	z-index: 9999;
	position: absolute;
	top: 50%;
	left: 100%;
	transform: translate(-50%,-50%);
}
#arrow-left:hover, #arrow-right:hover {
	cursor: pointer;
}
#arrow-left:hover > .arrow-line, #arrow-right:hover > .arrow-line{
	stroke-width: 3;
}
.dots-container {
	margin: 20px;
	text-align: center;
}
.dots:hover {
	cursor: pointer;
}
.dotBlack {
	fill: black;
}
.modal-dots:hover {
	cursor: pointer;
}

/* ---------- maps ---------- */
.map-leipzig-section {
	margin-top: 20px;
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
	grid-column-gap: 40px;
}
.map-leipzig-caption {
	align-self: end;
  	justify-self: end;
	font-style: italic;
	text-align-last: justify;
}
.dotted {
	color: grey;
	text-decoration: underline;
	text-decoration: line-through;
}
.map-leipzig {
	width: 100%;
}
.stoetteritz {
	margin-bottom: 0px;
	position: relative;
}
.map-stoetteritz {
	width: 100%;
}
.marker {
  position: absolute;
  opacity: 0;
  transform: matrix(.5,0,0,.5,-24,-24);
}
.marker-scale-big {
  opacity: 0.7;
  transition: opacity 1s;
}
.map-info-hook {
  position: relative;
  height: 0px;
}
.map-info {
  display: none;  
}
@media only screen and (min-width: 768px) {
  .marker-scale-big {
    transform: matrix(1,0,0,1,-24,-24);
  }
  .marker:hover {
	cursor: pointer;
    transform: matrix(1.06,0,0,1.06,-24,-24);
    z-index: 99;
  }
  .map-link {
    position: relative;
    display: inline-block;  
    text-align: left;
    top: -30px;
    bottom: auto;
    left: calc(65vw + 30px);
  }
  .map-link:hover {
    box-shadow: inset 0 -3px 0 black;
    cursor: pointer;
  }
  .map-info {
    position: absolute;
    margin: 25px;
    padding: 25px;
    background: white;
    top: 5px;
    left: 68%;
    right: 5px;
  }
.map-info-show {
	display: block;
    position: absolute;
}
  .map-info-link {
    margin-top: 15px;
    font-size: 18px;
    font-weight: 600; /* 700 */
  }
  .map-info-link:hover {
    box-shadow: inset 0 -3px 0 black;
    cursor: pointer;
  }
}
.under-map {
	transform: translateY(-20px);
}



/* ---------- modal ---------- */

.modal-background {
	display: none;
	position: fixed;
	z-index: 9999999;
	left: 0;
	top: 0;
	bottom: 0;
	right: 0;
	background-color: white; 
}
.modal-container {
	position: relative;
	margin: 20px;
	position: relative;
	overflow-x: visible;	
}
.modal-size {
	width: 75%;
	max-width: calc(120vh - 120px);
	margin: auto;
}
.modal-wrapper {
	position: relative;
	padding-top: 75%;
	overflow-x: hidden;	
}
.modal {
	position: absolute;
	top: 0;
	width: 100%;	
	height: 100%;
    transition: 0.5s;
}
.img-description {
	bottom: -4.5em;
	position: absolute;
}
@media only screen and (min-width: 768px) {
	.img-description {
		bottom: -2.5em;
	}
}
#close {
	position: absolute;
	top: 0px;
	right: 0px;
	transform: translate(50%,-50%);
	transition: 0.3s;
}
#close:hover {
	cursor: pointer;
}
#close:hover > .close-line {
	stroke-width: 3;
}

/* ---------- header ---------- */

.header {
	position: fixed;
	width: 100%;
		
	height: 80px;
	background: rgba(234, 147, 107, 1);
	z-index: 99999;
	
	top: 0px;
	transition: 0.5s;
}
.header-handy {
	display: block;
}
.header-desktop {
	display: none;
}
.header-hide {
	height: 80px;
	top: -80px;
}
.header-expand {
	height: 430px;
}
.header-container {
	margin: 0;
	padding: 10px;
	bottom: 0px;
}
#header-menu-hamburger {
	overflow: hidden;
	position: absolute;
	top: 21px;
	right: 25px;
}
#header-menu-hamburger:hover {
  cursor: pointer;
}
.ham-bar1, .ham-bar2, .ham-bar3 {
  width: 35px;
  height: 5px;
  background-color: black;
  margin: 6px 0;
  transition: 0.2s;
}
.change .ham-bar1 {
  -webkit-transform: rotate(45deg) translate(8px, 8px);
  transform: rotate(45deg) translate(8px, 8px);
}
.change .ham-bar2 {
  opacity: 0;
}
.change .ham-bar3 {
  -webkit-transform: rotate(-45deg) translate(8px, -8px);
  transform: rotate(-45deg) translate(8px, -8px);
}
.header-logo {
	overflow: hidden;
	position: absolute;
	top: 13px;
}
.header-menu {
	position: absolute;
	width: 100%;
	text-align: center;
	bottom: 80px;
}
.header-menu-link {
	display: block;

	font-family: 'Josefin Sans', sans-serif;
	font-weight: 700;
	font-size: 24px;
	padding: 10px;
	letter-spacing: 1px;
	text-transform: uppercase;
}


@media only screen and (min-width: 768px) {
	.header-handy {
		display: none;
	}
	.header-desktop {
		display: block;
	}
	.header-container {
		position: relative;
		margin: 0 auto;
		max-width: 900px;
		padding: 0 20px;
		height: 100%;
	}
	.header-logo {
		top: auto;
		bottom: 13px;
	}
	.header-menu {
		width: auto;
		text-align: right;
		bottom: 13px;
		right: 10px;
	}
	.header-menu-link {
		display: inline;
		padding: 0;
		padding-right: 10px;
		font-family: 'Josefin Sans', sans-serif;
		font-weight: 700;
		font-size: 14px;
		letter-spacing: 1px;
		text-transform: uppercase;
	}
	.header-menu-link:hover {
		color: white;
	}
}

/* ---------- form ---------- */

input {
	-webkit-appearance: none;
	-moz-appearance: none;
	appearance: none;
}

input[type=text], select, textarea {
	width: 100%;
	padding: 12px;
	border: 1px solid grey;
	box-sizing: border-box;
	margin-top: 6px;
	margin-bottom: 16px;
	font-family: 'Cormorant', serif;
	font-size: 18px;
}
input[type=checkbox] {
	float: left;
	width: 34px;
	height: 34px;
	border: 1px solid grey;
	box-sizing: border-box;
	margin-top: 6px;
	margin-bottom: 16px;
	font-family: 'Cormorant', serif;
	font-size: 18px;
	margin-right: 12px;
	position: relative;
	overflow: hidden;
}
input[type=checkbox]:hover {
	cursor: pointer;
}

input[type=checkbox]:checked {
	background: white;
	width: 34px;
	height: 34px;
}

input[type=checkbox]:before {
	content: "X";
	position: absolute;
	font-size: 1.6em;
	right: 0.2em;
	top: -0.1em;
	z-index: 99;
	visibility: hidden;
}

input[type=checkbox]:checked:before {
	/* Use `visibility` instead of `display` to avoid recalculating layout */
	visibility: visible;
}

input:focus {
	outline: none;
	background-color: rgba(234, 234, 234, 1);
}

input[type=submit] {
	background-color: rgba(234, 147, 107, 1);
	color: black;
	margin-top: 6px;
	padding: 14px 20px;
	padding-top: 18px;
	border: none;
	cursor: pointer;
	font-family: 'Josefin Sans', sans-serif;
	font-weight: 700;
	font-size: 14px;
	letter-spacing: 1px;
	text-transform: uppercase;
}

input[type=submit]:hover {
  color: white;
}


.hide-me {
	display: none;
}


/* ---------- footer ---------- */

.footer {
	width: 100%;
	background: rgba(234, 147, 107, 1);
}
.l-container-footer {
	margin: 0 auto;
	padding: 40px 10px;
}
@media only screen and (min-width: 768px) {
	.l-container-footer {
		margin: 0 auto;
		padding: 80px 20px;
		max-width: 900px;
	}
}

.footer-menu-link {
	display: inline;
	padding: 0;
	padding-right: 10px;
	font-family: 'Josefin Sans', sans-serif;
	font-weight: 700;
	font-size: 14px;
	letter-spacing: 1px;
	text-transform: uppercase;
}
.footer-menu-link:hover {
	color: white;
}

