:root {
    /*Bootstrap CSS Variablen*/    
    --bs-primary: #77baeb;
    --bs-primary-rgb: 119, 186, 235;
    
    --bs-primary-darker: #5a8faf;
    --bs-primary-darker-rgb: 90, 143, 175;
    
    --bs-primary-lighter: #add3ea;
    --bs-primary-lighter-rgb: 173, 211, 234;

    --bs-link-color-rgb: var(--bs-primary-rgb);
    --bs-link-hover-color-rgb: var(--bs-primary-darker-rgb);
    --bs-link-opacity: 1;
	
	--bs-body-font-family: "Roboto", sans-serif;
	--bs-heading-color: var(--bs-primary);
	--bs-border-radius: 0;
	
	--gb-marker-color: var(--bs-primary);	
}

.btn-primary {
	--bs-btn-color: #fff;
	--bs-btn-bg: var(--bs-primary);
	--bs-btn-border-color: var(--bs-primary);
	--bs-btn-hover-color: #fff;
	--bs-btn-hover-bg: var(--bs-primary-darker);
	--bs-btn-hover-border-color: var(--bs-primary-darker);
	--bs-btn-active-color: #fff;
	--bs-btn-active-bg: var(--bs-primary-darker);
	--bs-btn-active-border-color: var(--bs-primary-darker);
	--bs-btn-disabled-color: #fff;
	--bs-btn-disabled-bg: var(--bs-primary-lighter);
	--bs-btn-disabled-border-color: var(--bs-primary-lighter);
}


.block.bg-farbig .btn-primary, .block.bg-farbig a.btn-primary {
	--bs-btn-color: var(--bs-primary);
	--bs-btn-bg: #fff;
	--bs-btn-border-color: #fff;
}


.navbar {
    /*
    --bs-navbar-color: rgba(255,255,255,0.7);
    --bs-navbar-hover-color: rgba(255,255,255,1);
    --bs-navbar-active-color: rgba(255,255,255,0.9);
    */
    --bs-nav-link-font-size: 1.1rem;
	--bs-navbar-toggler-icon-bg: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 40 40'%3e%3cpath stroke='rgba%28119, 186, 235, 1%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='3' d='M4 8h32M14 20h22M4 32h32'/%3e%3c/svg%3e");

}

.navbar-nav {
    --bs-nav-link-font-weight: 400;
}

.navbar-toggler {
	border: none;
}

.navbar-toggler:focus {
	box-shadow: none;
}

.navbar-toggler-icon {
	width: 1.9em;
	height: 1.9em;
}

.carousel-control-next-icon, .carousel-control-prev-icon {
    background-image: none;
    font-size: 2rem;
}

.cookie-warnung {
	position: fixed;
	left: 0px;
	right: 0px;
	bottom: 0px;
	padding-top: 1rem;
	padding-bottom: 1rem;
	color: #FFF;
	background-color: rgba(0,0,0,.8);
	z-index: 50000;
}

.menu-ebene .menu-ebene li a {
	padding-left: 1.5em;
	font-size: .9em;
}

.menu-ebene .menu-ebene .menu-ebene li a {
	padding-left: 2em;
	font-size: .8em;
}


.video {
	width: 100%;
	height: auto;
}

.galerie-einblendung {
	position: absolute;
	top: 0px;
	left: 0px;
	right: 0px;
	bottom: 0px;
	z-index: 2000;
}

.galerie-hg {
	position: fixed;
	top: 0px;
	left: 0px;
	right: 0px;
	bottom: 0px;
	background-color: rgba(0,0,0,0.8);
	overflow: visible;
	z-index: 2030;
}

#galerie {
	position: absolute;
	top: 40px;
	left: 40px;
	right: 40px;
	bottom: 40px;
	z-index: 2060;
}

#galerie .carousel-inner {
	height: 100%;
}

.galerie-motiv {
	position: absolute;
	top: 0px;
	left: 0px;
	right: 0px;
	bottom: 0px;
	background-position: center center;
	background-repeat: no-repeat;
	background-size: contain;
}

#galerie .carousel-control {
	background-image: none;
	width: 30px;
}

a.galerie-x {
	position: absolute;
	top: 10px;
	right: 40px;
	color: #fff;
	font-size: 2rem;
	z-index: 2090;
}

a.galerie-x:hover {
	color: #fff;
}

.form-check-input {
    margin-top: .4rem;
}

.ankerbox {
	position: relative;
	height: 0px;
}

.anker {
	position:absolute;
	margin-top: -80px;
}

.mapbox {
	position: relative;
	background-image: url(../pic/map-platzhalter.jpg);
	background-position: center center;
	background-repeat: no-repeat;
	background-size: cover;
}

.ytbox {
	position: relative;
	background-position: center center;
	background-repeat: no-repeat;
	background-size: cover;
}

a.card {
    color: var(--bs-body-color);
    text-decoration: none;
}

a.card:hover, a.card:focus {
    background-color: var(--bs-light);
    text-decoration: none;
}

.card-button {
    margin-top: -2rem;
}

.block {
	position: relative;
    background-repeat: no-repeat;
    background-size: cover;
    background-attachment: fixed;
    background-position: center center;
    min-height: 30vh;
}

@supports (-webkit-touch-callout: none) {
   /* CSS specific to iOS devices */ 
    .block {
        background-attachment: scroll;
    }
}


.block-video-box {
	position: absolute;
	top: 0px;
	left: 0px;
	right: 0px;
	bottom: 0px;
	align-items: center;
	overflow: hidden;
	z-index: 1;
}

.block-video-box video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
}

.block-content {
	position: relative;
	z-index: 2;
}

.dunkler, .bg-farbig  {
	--bs-link-color-rgb: rgba(255,255,255,1);
	--bs-heading-color: #fff;
	--gb-marker-color: #fff;
    color: #fff;
}

.dunkler {
    background-color: rgba(0,0,0,0.5);
}

.bg-farbig {
    background-color: var(--bs-primary);
}

.mosaik-container {
	position: relative;
}

.parallax {
    height: 100vh;
    overflow-x: hidden;
    overflow-y: auto;
    perspective: 1px;
}

#bildsatz {
    position: relative;
    height: 100vh;
    z-index: 1;
    transform: translateZ(-2px) scale(3);
}

#bildsatz .carousel-inner, #bildsatz .carousel-item {
    position: absolute;
    top: 0px;
    left: 0px;
    right: 0px;
    bottom: 0px;
}

#bildsatz .carousel-item img, #bildsatz .carousel-item video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
}

#bildsatz .carousel-caption {
    left: 5vw;
    right: 5vw;
    top: 13vh;
    z-index: 5;
}

#seite {
    position: relative;
    padding-top: 58px;
    z-index: 5;
}

#seite.bs {
    padding-top: 0px;
}

.fuss {
    color: #fff;
    background-color: var(--bs-primary);
	padding-bottom: 80px;
}

.fuss a:link, .fuss a:visited {
    color: #fff;
    text-decoration: none;
}

.fuss a:hover, .fuss a:focus {
    color: #fff;
    text-decoration:  underline;
}

.freiraum {
	padding-bottom: 10vh;
	padding-top: 10vh;
    min-height: 75vh;
}

a.klappe {
	text-decoration: none;
	outline: none;
}

a.klappe h4::after {
	content: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'><polygon fill='rgba(119, 186, 235, 1)' points='10 0 20 20 0 20 10 0'/></svg>");
    width: 20px;
    height: 20px;
	margin-left: 10px;
	float: right;
}

.bg-farbig a.klappe h4::after {
	content: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'><polygon fill='rgba(255, 255, 255, 1)' points='10 0 20 20 0 20 10 0'/></svg>");
}

a.klappe.collapsed h4:after {
	content: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'><polygon fill='rgba(119, 186, 235, 1)' points='10 20 0 0 20 0 10 20'/></svg>");
}

.bg-farbig a.klappe.collapsed h4:after {
	content: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'><polygon fill='rgba(255, 255, 255, 1)' points='10 20 0 0 20 0 10 20'/></svg>");
}

.h1, .h2, .h3, .h4, .h5, .h6, h1, h2, h3, h4, h5, h6, .display-1, .display-2, .display-3, .display-4, .display-5 {
	font-family: "Roboto Condensed", sans-serif;
	font-weight: 700;
}

mark {
	padding: .2em;
	padding-left: .4em;
	padding-right: .4em;
	line-height: 1.4em;
	color: #fff;
	box-decoration-break: clone;
	-webkit-box-decoration-break: clone;
}

.mark-primary {
	background-color: var(--bs-primary);
}

.logo, .logo.scrolled {
    height: 40px;
    width: auto;
	padding: 5px;
	background-color: #fff;
	margin-left: 0;
	margin-top: 0;
	margin-bottom: 0;
    transition: height 0.5s ease, margin-left 0.5s ease, margin-top 0.5s ease, margin-bottom 0.5s ease;
}

.rechner {
	position: fixed;
	left: 0.75rem;
	right: 0.75rem;
	top: calc(100vh - 60px);
	height: 525px;
	z-index: 2;
	transition: top 0.5s ease, right 0.5s ease;
	pointer-events: none;
}

.rechner.offen {
	top: calc(100vh - 525px);
}

.rechner-box {
	position: relative;
	width: 580px;
	pointer-events: all;
}

.rechner-btn {
	margin-bottom: -10px;
}

.form-mob {
	padding-top: .25rem;
	padding-bottom: .25rem;
	padding-left: .5rem;
	font-size: .875rem;
}

li::marker {
	color: var(--gb-marker-color);
}

.banner-logo-box {
	position: relative;
	margin-bottom: -1px;
	z-index: 2;
}

.banner-logo {
	height: 40px;
	width: auto;
}

.banner-form {
	position: relative;
	z-index: 1;
}

.news-indicators {
	bottom: -50px;
}

@media(min-width: 768px){
    
    .logo {
        height: 65px;
    }
	
	#seite {
		padding-top: 83px;
	}
	
	#bildsatz .carousel-caption {
		top: 20vh;
	}
		
	.form-mob {
		padding-top: 0.375rem;
		padding-right: 2.25rem;
		padding-bottom: 0.375rem;
		padding-left: 0.75rem;
		font-size: 1rem;
	}
	
	.mosaik {
		position: absolute;
		top: 0;
		left: 0;
		width: 50%;
		transition: height 0.5s, top 1s, left 1s;
	}
}

@media(min-width: 992px){
	
    .logo {
        height: 75px;
		margin-left: 5vw;
    }
	
	#seite {
		padding-top: 93px;
	}
	
	/*.rechner {
		left: 5vw;
		right: 5vw;
		top: calc(100vh - 400px);
		height: 340px;
		z-index: 5;
		transition: top 0.5s ease, right 0.5s ease;
	}
	
	.rechner.geschlossen {
		top: calc(100vh - 60px);
	}*/
	
	.mosaik {
		width: 33.333%;
	}
	
}

@media(min-width: 1400px){
	
    /*.logo {
		margin-top: 35px;
		margin-bottom: -35px;
    }*/
		
	#bildsatz .carousel-caption {
		top: 50vh;
		right: 50vw;
		text-align: left;
	}
	
	.rechner {
		top: 51vh !important;
		left: auto;
		right: 30px;
		width: 600px;
	}
	
	.rechner.geschlossen {
		right: -600px;
	}
	
	.rechner-btn {
		position: absolute;
		top: 130px;
		left: -200px;
		width: 340px;
    	height: 80px;
		text-align: right;
		transform: rotateZ(-90deg);
	}
	
	.mosaik {
		width: 25%;
	}
	
	.fuss {
		padding-bottom: 15px;
	}
}


/*CMS Buttons*/
.cmslink {
	position: relative;
	height: 0px;
	display: block;
	overflow: visible;
	z-index: 5000;
}

.cmsbtn {
	position: absolute;
	top: 0px;
	left: 0px;
}

.bsbtn {
	margin-top: -60px;
}

#qcore-btn-show {
	display: none;
}

