:root {
  --ratio: 2.0;
  --cta-color: rgb(0, 102, 254);
  --light-color-bg: rgb(238, 241, 247);
  --dark-color-bg: rgb(55, 65, 81);
  --grey-color: rgb(107, 114, 128);
  --leading: 0.025em;

  --dunkelblau: #002c50;
  --blau: #39f;
}

* { box-sizing: border-box !important; }

body,
html {
	padding: 0;
	margin: 0;
	font-family: 'Poppins', sans-serif !important;
}


/* -----------------------------------------
	Interimsseite
-------------------------------------------- */
.interimsbanner {
   width: 100vw;
   height: 100vh;
   display: flex;
	align-items: center;
  justify-content: center;
   
}

.interimsbanner img {
   display: block;
   width: 100%;
   max-width: 980px;
}



/* -----------------------------------------
	Editor
-------------------------------------------- */
.image-style-align-right {
	float: right;
	margin-left: 2em;
	width: 40%;
}

@media (max-width: 1100px) {

	.image-style-align-right {
		margin-left: 1em;
		width: 30%;
	}

 
}



@media (max-width: 800px) {

	.image-style-align-right {
		float: none;
		display: block;
		margin-left: 0;
		width: 100%;
	}

 
}

figure.image-style-align-right img {
	width: 100%;
}

.content_ckedit {
	padding-top: 2em;
	max-width: 860px;
}

.content_ckedit h1 {
	margin-top:0;
	font-size: 48px;
}
/* -----------------------------------------
	 Header
-------------------------------------------- */

.header {
	position: absolute;
	top: 0;
	left: 7vw;
	width: 80%;
	/* max-width: 280px; */
	
}

.header-wrapper {
	display: flex;
}

.header .header-logo {
	width: 85%;
	max-width: 280px;
}

.header-flex-left {
	max-width: 200px;
}

.header .header-logo:hover {
	cursor: pointer;
}
.header-wrapper > div:first-child {
	width: 80%;
}

.header img.header-hamburger {
	width: 42px;
}

/* .header * {border: 1px solid red;} */

/* -----------------------------------------
	Main Menu right
-------------------------------------------- */

* {
	box-sizing: border-box;
}

nav.mainmenu {
/*
	position: fixed;
	top: 0;
	right: -25vw;
	width: 25vw;
	transition: right 0.5s cubic-bezier(0.7, 1, 0.7, 1);
*/
	background: #002c50;
	height: 100%;
	color: white;
}

nav.mainmenu * {
	color: white;
}


/* -----------------------------------------
	nav :: Intro 
-------------------------------------------- */

.main-menu-container {
}

.mainmenu-intro {
	padding: 3% 2em;
}

.mainmenu-intro h3 {
	font-size: clamp(24px, 3vw, 48px);
	text-transform: uppercase;
	line-height: 1.3em;
	margin: 0;
}

.main-menu-container ul {
	list-style: none;
	padding: 0;
}

.main-menu-container ul li {
	width: 100%;
	transition: background 0.2s ease-in-out;
	background-color: #00b0df;

	text-transform: uppercase;
	margin-bottom: 3px;
}

.main-menu-container ul li.active {
	background-color: darkorange;
}

.main-menu-container ul li a {
	text-decoration: none;
	color: white;
	padding: 15px 30px;
	line-height: 1.6rem;
	display: block;
	font-size: clamp(18px, 1.85vw, 22px);
}

.main-menu-container ul li a:hover {
	background-color: darkorange;
}



nav.mainmenu.menu-open {
	right: 0;
}

@media (max-width: 800px) {

nav.mainmenu { 	
	background: #002c50;
	height: 100%;
	color: white;
}
 
 .mainmenu-intro {
	 border-top: 60px solid #00b0df;;
	 padding: 1em;
 }
 
 .main-menu-container ul li a {
	 text-decoration: none;
	 color: white;
	 padding: 10px 15px;
	 line-height: 1.2rem;
	 display: block;
	 font-size: 15px;
 }
 
 .mainmenu-intro h3 {
	 font-size: 20px;
	 text-transform: uppercase;
	 line-height: 1.3em;
 }
 
}


/* -----------------------------------------
	Menu Ikon Wrapper
-------------------------------------------- */

.menu-icon {
	position: relative;
	margin-top: 30px;
	width: 50px;
	height: 50px;
	transition: background 0.2s ease;
	z-index: 1000;
}

.menu-icon:hover {
	cursor: pointer;
	/*   background: rgba(255,255,255,0.1) */
}

/* -----------------------------------------
	Ikon Hamburger
-------------------------------------------- */

.center-line {
	position: relative;
	width: 36px;
	padding: 0;
	height: 5px;
	background: #009ee2;
	margin: 0;
	-webkit-transform: rotate(360deg);
	transform: rotate(360deg);
	transition: all 0.3s cubic-bezier(0.7, 1, 0.7, 1);
}

.center-line:before,
.center-line:after {
	display: block;
	position: absolute;
	top: -10px;
	left: 0;
	content: "";
	width: 36px;
	height: 5px;
	background: #009ee2;
	transition: all 0.3s cubic-bezier(0.7, 1, 0.7, 1);
}

.center-line:after {
	top: 10px;
}

/* Menu IKON Open */

.menu-open .center-line {
	-webkit-animation: menu-to-arrow 0.3s cubic-bezier(0.7, 1, 0.7, 1) backwards;
	animation: menu-to-arrow 0.3s cubic-bezier(0.7, 1, 0.7, 1) backwards;
	-webkit-transform: rotate(180deg);
	transform: rotate(180deg);
	background-color: rgba(255, 255, 255, 0);
}

.menu-open .center-line:before {
	-webkit-transform: rotate(45deg);
	transform: rotate(45deg);
	left: -2px;
	top: 0px;
	width: 36px;
	background: white;
}

.menu-open .center-line:after {
	-webkit-transform: rotate(-45deg);
	transform: rotate(-45deg);
	left: -2px;
	top: 0px;
	width: 36px;
	background: white;
}

/* --------------------------------------- */

@-webkit-keyframes menu-to-arrow {
	0% {
		-webkit-transform: rotate(0deg);
	}
	100% {
		-webkit-transform: rotate(180deg);
	}
}

@keyframes menu-to-arrow {
	0% {
		transform: rotate(0deg);
	}
	100% {
		transform: rotate(180deg);
	}
}

.page-shader {
	position: absolute;
	left: 0;
	background: rgba(0, 0, 0, 0);
	width: 100%;
	height: 100vh;
	position: fixed;
	transform: translatex(-100%);
	transition: background 0.3s ease, height 0.1ms ease 0.3s;
	z-index: 0;
}

.page-shader.menu-open {
	left: 0;
	background: rgba(0, 0, 0, 0.66);
	height: 100vh;
	width: 100vw;
	transform: translatex(0);
	transition: background 2s ease, height 0.1ms ease;
	z-index: 100;
}

@media screen and (max-width: 768px) {
	.menu-icon:hover {
		background: rgba(255, 255, 255, 0);
	}
}

a.startbutton {
   text-decoration: none;
	 padding: 12px 35px;
	 height: auto;
}

a.startbutton:hover {
   text-decoration: none;
}






/* ========================= UPDATE V2 ===================== */

/* -----------------------------------------
	01 - Struktur-Elemente
   05 - Desktop Header
   06 - Mobile
   07 - Stuff
-------------------------------------------- */

/* -----------------------------------------
    01 - Struktur-Elemente
-------------------------------------------- */


#navbar {
   position: fixed;
   top:0;
   right:0;
   width: 33vw; 
   height: 48px;;
   background-color: red;
   z-index: 160;
   max-width: 400px;
}

#panel {
   position: fixed;
   top: 48px;
   right:0;
   width: 33vw; 
   height: 100vh;
   background-color: white;
   z-index: 140;
   max-width: 400px;
   transition: 1s all;
}

.panel-wrapper {
   border: 1px solid red;
   height: 100%;
   overflow-y: scroll; 
}


#karte { 
   position: fixed;
   top:0;
   left:0;
   width: 100vw; 
   height: 100vh;
  
   z-index: 100;   
}

#menu { 
   position: fixed;
   top:0;
   right:0;
   width: 33vw; 
   height: 100vh;
   max-width: 400px;
   z-index: 8000;
   transition: all 0.5s ease;
   background-color:white;
   transform: translateX(100%);
}
#menu.open {
   transform: translatex(0);
}

#mobinavbar {
   display: none;
}

#darklayer {
	position: absolute;
	left: 0; top:0;
	background: rgba(0, 0, 0, 0);
	width: 100%;
	height: 100vh;
	position: fixed;
	transform: translatex(-100%);
	transition: background 0.3s ease, height 0.1ms ease 0.3s;
	z-index: 0;
}

#darklayer.open {
	left: 0; top:0;
	background: rgba(0, 0, 0, 0.66);
	height: 100vh;
	width: 100vw;
	transform: translatex(0);
	transition: background 2s ease, height 0.1ms ease;
	z-index: 7900;
}






/* -----------------------------------------
	05 - Desktop Header
-------------------------------------------- */

.header {
   position: fixed;
   top:0;
   left:160px;
   width: 150px;
   height: 100px;
   padding:0;
   display: flex;
   z-index: 9100;
}

.header-icon {
	position: relative;
	margin-top: 25px;
   margin-left: 30px;

   display: flex;
   align-items: center;
   justify-content: center;
 
   width: 50px;
	height: 50px;
	transition: background 0.2s ease;
	z-index: 1000;
}

.header-icon:hover {
	cursor: pointer;
	/*   background: rgba(255,255,255,0.1) */
}

/* -----------------------------------------
	Ikon Hamburger
-------------------------------------------- */

.center-line {
	position: relative;
	width: 36px;
	padding: 0;
	height: 5px;
	background: #009ee2;
	margin: 0;
	-webkit-transform: rotate(360deg);
	transform: rotate(360deg);
	transition: all 0.3s cubic-bezier(0.7, 1, 0.7, 1);
}

.center-line:before,
.center-line:after {
	display: block;
	position: absolute;
	top: -10px;
	left: 0;
	content: "";
	width: 36px;
	height: 5px;
	background: #009ee2;
	transition: all 0.3s cubic-bezier(0.7, 1, 0.7, 1);
}

.center-line:after {
	top: 10px;
}

/* Menu IKON Open */

.menu-open .center-line {
	-webkit-animation: menu-to-arrow 0.3s cubic-bezier(0.7, 1, 0.7, 1) backwards;
	animation: menu-to-arrow 0.3s cubic-bezier(0.7, 1, 0.7, 1) backwards;
	-webkit-transform: rotate(180deg);
	transform: rotate(180deg);
	background-color: rgba(255, 255, 255, 0);
}

.menu-open .center-line:before {
	-webkit-transform: rotate(45deg);
	transform: rotate(45deg);
	left: -2px;
	top: 0px;
	width: 36px;
	background: white;
}

.menu-open .center-line:after {
	-webkit-transform: rotate(-45deg);
	transform: rotate(-45deg);
	left: -2px;
	top: 0px;
	width: 36px;
	background: white;
}

/* --------------------------------------- */

@-webkit-keyframes menu-to-arrow {
	0% {
		-webkit-transform: rotate(0deg);
	}
	100% {
		-webkit-transform: rotate(180deg);
	}
}

@keyframes menu-to-arrow {
	0% {
		transform: rotate(0deg);
	}
	100% {
		transform: rotate(180deg);
	}
}

/* -----------------------------------------
    06 - Mobile
-------------------------------------------- */


@media (max-width: 800px) {
   
   #karte { 
      height: 45vh;
   } 
   #xpanel {
      right:0;
      width: 100vw; 
      top: 45vh;
      height: 55vh;
      max-width: 100%;
   }
   
   #xpanel.fullscreen {
   	flex:1 1 90vh;
   }

   
   #navbar {
      top:25vh;
      left: 0;
      width: 48px; 
      height: 48px;;
      max-width: 100%;
   }
   
   #mobinavbar {
      position: fixed;
      top:5px;
      right:5px;
      width: auto;
      height: 48px;
      z-index: 120;  
      padding:0;
      display: flex;
      z-index:10180;
   }
   
   #mobinavbar img {
      margin-left: 5px;
   }
   
   #menu.open {
      transform: 0;
      top:0;
      left:0;
      width: 100vw;
      max-width:100%;
   }
   
   .header,
   #navbar {
      display:none;
   }

 
}



/* -----------------------------------------
    07 - Stuff
-------------------------------------------- */


body, html {
   overflow: hidden;
   padding:0;
}

.form-buttons {
	padding:5px 0;
	display:flex;
	flex-wrap:wrap;
	justify-content:left;
	align-items:center;
}
.form-buttons .section-right {
	margin-left:auto;
}
.section-right {
	display:flex;
	gap:0.5rem;
	justify-content:flex-end;
	align-items:center;
}
.form-buttons .section-bottom {
	align-self:bottom;
}
.form-delete .fa {
	font-size:18px;
}




