
.scrollmenu{
	display:block;
    position:relative;
	height:auto;
	width:100%;
	overflow:hidden;
}
.scrollSubmenu{
	display:block;
	margin-bottom:20px;
	height:0;
	width:100%;
	background: rgba(155, 155, 155, 0.9);
    transition: height 0.3s ease, padding 0.3s ease;
}
.scrollSubmenu.active {
	height:auto;
	
}
.container {
    overflow: auto;
    white-space: nowrap; 
    width:100%;
    height:auto;
   
    background-color: #ececec;
    
}
.container a{
	display: inline-block;
	text-decoration: none;
	border:1px solid#dfdfdf;
	padding: 20px;
	font-size: 23px;
	align-items:center;
    cursor: pointer;
    color: #0084c7;

}
.container a img{
    width: auto;
    height: 25px;
    vertical-align: middle;
    margin-left: 8px;
}
#canvasHtmlCont .header{
    
    padding:20px;

}
.header img{
    margin-left:8px;
    width: auto;
    height: 60px;
}
.container a:hover {
    color: #000;
}
#canvasHtmlCont {
    background-color: #00000052;
    
}
.header{
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between; /* wie bisher */
  align-items: flex-start;
}

/* Logo links oben */
.header > img{
  order: 1;
  display: block;
}

/* Button bleibt rechts oben */
.header > button,
.header > .kontactBtn{
  order: 2;
}

/* Überschrift unter das Logo (neue Zeile) */
.header > h2{
  order: 3;
  flex: 0 0 100%;     /* volle Breite => neue Zeile */
  margin: 8px 0 0;
}

.kontaktBtn{
    position:absolute;
    top: 0px;
    right: 5%;
    transform: translateX(-60%);
    width: 100px;
    height: 100px;
    background-image: url("../img/kontakt_btn.png");
    z-index: 999;
    background-size: contain;
    background-color:transparent;
    background-repeat: no-repeat;
    border:none;
}
.kontaktBtn img{
    width: auto;
    height: 80px;
    vertical-align: middle;
    margin-left: 5px;
}
.kontaktBtn:hover{
    transform: translateX(-60%) scale(1.1);
    transition: transform 0.3s ease;
    background-color:transparent;
}


.contactWindow{
    position:absolute;
    bottom:150px;
    left:50%;
    transform: translate(-50%);
    width:auto;
    height:auto;
    background-color:#fff;
    border:0px solid#000;
    z-index:10000;
    padding:20px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    display:none;
    opacity:0;
    transition: top 0.5s ease, opacity 0.5s ease;
}
.contactItem{
    position:relative;
    width:100%;
    height:auto;
    border:1px solid #0195df;
    margin-bottom:10px;
    padding: 20px 70px 30px 20px;
    box-sizing:border-box;
}
.contactItem img{
    position:absolute;
    top:10px;
    right:0px;
    width:40px;
    height:40px;
}
.contactWindow.blue{
    background-color: #0084c7;
    color: #fff;
}
.contactWindow.blue h2, .contactWindow.blue a, .contactWindow.blue p{
    color: #fff;

}
.contactWindow.active{
opacity: 1;
display:block;

}

.closebtn{
	position:absolute;
	top:5px;
	right:2px;
	width:50px;
	height:auto;
    cursor: pointer; /* Handcursor */
	transition: transform 0.3s ease;
    font-size: 35px;
    color:#fff;
}
.closebtn:hover {
    transform: scale(1.1); /* Vergrößern bei Hover */
    
}
.closebtn img{
	width: 100%;
    height: 100%;
    object-fit: cover; /* Bild füllt den verfügbaren Platz proportional */
}

#hinweisCont{
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(128, 128, 128, 0.5);
    backdrop-filter: blur(5px);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10000;
}
.messageBox{
    position:relative;
    background-color: #0083cabb;
    color:#fff;
    padding: 40px;
    padding-top:50px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    max-width: 80%;
    text-align: center;
}  
.messageBox h1, .messageBox h2, .messageBox h3, .messageBox p {
    margin: 10px 0;
    color:#fff;
}

/* labels auf ein ausblende punkte */
#babylon-html-label-layer {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none; /* Damit HTML-Elemente keine Mausereignisse empfangen */
    overflow: visible;
    z-index: 999; /* Sicherstellen, dass die Labels über dem Canvas liegen */
}
.babylon-html-label{

    position: absolute;
    transform: translate(-50%, -100%);
    background-color: rgba(0, 0, 0, 0.7);
    color: #fff;
    padding: 8px 12px;
    border-radius: 4px;
    font-family: Arial, sans-serif;
    font-size: 14px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.25);
    transition: opacity 0.1s;
    pointer-events: none;
}
.showLabel {
    display: block;
    opacity: 1;
}
.hideLabel {
    opacity: 0;
    display:none;
}
.babylon-html-label .titel{
    font-weight: bold;
    margin-bottom: 4px;
}
.babylon-html-label .subtitel{
    font-weight: bold;
    margin-bottom: 4px;
}
.babylon-html-label .texto{
    font-weight: bold;
    margin-bottom: 4px;
}
@media (max-width: 767px) {
  .kontaktBtn{
    right: 2%;                 /* weiter nach rechts */
    transform: translateX(0);  /* nicht mehr nach links ziehen */
  }
  .header img{
    margin-left:8px;
    width: auto;
    height: 40px;
}
.contactWindow{
    width: calc(100vw - 24px);   /* passt immer ins Display */
    max-width: 320px;            /* insgesamt kleiner */
    padding: 12px;               /* weniger Innenabstand */
    bottom: 110px;               /* optional: etwas höher */
  }
}

#statusLabelCont{
    position: fixed;
    bottom: 1%;
    left: 50%;
    transform: translateX(-50%);
    color: #ffffff;
    border-radius: 0px;
    font-size: 1.2rem;
    z-index: 2;
    pointer-events: none;
    display: flex;
    gap: 8px;
}
#statusLabelCont div{
    width: auto;
    height: auto;
    background: rgba(253, 253, 253, 0.055);
    -webkit-backdrop-filter: blur(5px);
    backdrop-filter: blur(5px);
    border: 0px solid rgba(255, 255, 255, 0.068);
    border-radius: 0px;
    padding: 5px 20px;
}
#statusLabelCont p{
    color: #ffffff;
    margin: 0px;
}