#prim2, #NavipunktContainer.fixed {
    max-width: 1500px;
}
/* ############ PRIM2 ################################## */
#prim2 {
   background-color: rgba(230,230,230,1);
      box-shadow:0px 0px 0px #666; 
   -moz-box-shadow: 0px 0px 0px #666;
    -webkit-box-shadow: 0px 0px 0px #666;
}

/* Inhalt positionieren Mobil 959 */
@media screen and (max-width: 959px) {
    #prim2 {
        overflow: scroll;
    
    }
}
/* ############ PRIM2 ENDE ################################## */




#BottContHtmlDiv {
   background-color: rgba(255,255,255,0);
  padding: 0;
}

#TOP {
  background-color: rgba(255,255,255,1);
}

/*BannerContainer anpassen*/
#BannerContainer2 {
    background-color: rgba(255,255,255,0.5);
    margin-bottom: 0px;
}

/*SLOGAN-LEISTE*/
/* Grundstile für den Container */
.top-bar-container {
  display: flex;
  flex-direction: column; /* Standard: Elemente untereinander (Mobile-First) */
  background-color: rgba(243,146,0, 1); /* Hintergrundfarbe für leckortung.or.at */
  color: rgba(255, 255, 255, 0.9);
  padding: 10px 15px;
  width: 100%;
  box-sizing: border-box;
}

/* Stile für den Kontaktbereich */
.contact-info {
  text-align: center; /* Zentriert Text auf kleinen Bildschirmen */
  margin-bottom: 10px;
}

.contact-info .slogan {
  display: block;
  font-size: 1.5em;
  color: white;
  font-weight: 700;
  margin-bottom: 5px;
}

.contact-info .phone-number {
  display: inline-flex;
  align-items: center;
  font-size: 1.2em;
  font-weight: 700;
  color: white;
  text-decoration: none;
}

/* Stile für das SVG-Icon */
.contact-info .phone-icon {
  height: 24px;
  width: 24px;
  margin-right: 8px;
}

/* Stile für den Such-Button */
#sucheTop {
  text-align: center;
}

#sucheTop a {
  display: inline-block;
  padding: 8px 20px;
  background-color: rgba(255,255,255,1);
  color: black;
  text-decoration: none;
  font-weight: bold;
  border-radius: 5px;
  width: 100%;
  max-width: 200px; /* Begrenzung für mobile Ansicht */
  box-sizing: border-box;
  background-image: url('/lib/imgAllg/lupe.svg');
  background-repeat: no-repeat;
  background-size: 40% 40%;
  background-position: -7px 50%;
}

#sucheTop a:hover {
  background-color: #555;
}

/* --- Desktop-Layout ab 959px --- */
@media (min-width: 959px) {
  .top-bar-container {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    padding: 5px 20px;
  }

  /* Kontakt-Info-Block rechts anordnen */
  .contact-info {
    order: 2; /* Info-Block nach rechts */
    display: flex;
    flex-direction: column;
    align-items: flex-end; /* Inhalt rechtsbündig ausrichten */
    text-align: right;
    margin-bottom: 0;
  }
  
  /* Such-Button links anordnen */
  #sucheTop {
    order: 1; /* Such-Button nach links */
    width: auto;
    flex-shrink: 0; /* Verhindert, dass der Button schrumpft */
  }
  
  #sucheTop a {
    width: auto;
    max-width: 150px; /* Maximale Breite wie gewünscht */
    padding: 10px 25px;
  }
}
/*SLOGAN-LEISTE ENDE*/

/* ========== Styling für den Call-to-Action Button ========== */

.cta-button-container {
  text-align: center; /* Zentriert den Button im Container */
  margin-top: 25px;   /* Sorgt für Abstand nach oben */
  margin-bottom: 25px;/* Sorgt für Abstand nach unten */
}

.cta-button {
  display: inline-block; /* Erlaubt Padding und Margin */
  background-color: rgba(243,146,0,1.0); /* Primärfarbe (Blau aus Ihrem Logo) */
  color: #ffffff;
  padding: 15px 30px;
  font-size: 1.3rem; /* Leicht vergrößerte Schrift */
  font-weight: bold;
  text-decoration: none;
  border-radius: 8px; /* Moderne abgerundete Ecken */
  border: 2px solid transparent;
  transition: all 0.3s ease; /* Sanfte Übergänge für Hover-Effekte */
  cursor: pointer;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15); /* Dezenter Schatten für Tiefe */
}

/* Zustand, wenn die Maus über den Button fährt */
.cta-button:hover {
  background-color: rgba(243,146,0,0.8);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
    color: white;
}

/* Zustand, wenn der Button per Tastatur fokussiert wird (WICHTIG für Barrierefreiheit!) */
.cta-button:focus {
  outline: 3px solid #707173; /* Deutlicher Fokus-Ring in Grau (aus Logo) */
  outline-offset: 3px;
  background-color: #00446e;
}

/* Styling für das Icon im Button */
.cta-button .cta-icon {
  width: 1em; /* Passt sich der Schriftgröße an */
  height: 1em;
  vertical-align: middle;
  margin-left: 10px;
  transition: transform 0.3s ease;
}

.cta-button:hover .cta-icon {
  transform: translateX(5px); /* Bewegt den Pfeil bei Hover nach rechts */
}

/* ========== Styling für den Call-to-Action Button ENDE ========== */

/*TOPLOGO*/

#OverTopHtmlContDIV {
    max-width: 400px;
    padding: 0;
}

#OverTopHtmlContDIV.fixed svg {
        max-width: 120px;
        width: 100%;
    }

#TopLogo {
  max-height: 130px;
  display: inline-block;
  outline: none; /* Wichtig für eigenes Focus-Styling */
}

#TopLogo a {
  display: inline-block; /* Stellt sicher, dass der Link um das Bild herum einen Fokusrahmen hat */
  outline: none; /* entfernt Standardfokus */
}

#TopLogo a:focus {
  outline: 0px dotted rgba(0, 0, 0, 1); /* Sichtbarer gepunkteter Rahmen bei Fokus */
  outline-offset: 2px; /* Abstand zum Bild */
background-color:rgba(0,0,0,0.1);
}

#TopLogo img {
margin-left:auto;
margin-right:auto;
  width: 100%;
  height: auto;
  display: block; /* Verhindert zusätzliche Abstände unter dem Bild */
}

#OverTopHtmlContDIV.fixed a,
#OverTopHtmlContDIV.fixed a {
  min-height:30px;
    max-height: 30px;
}

@media screen and (max-width: 959px) {
  #TopLogo, #TopLogo svg {
max-width: 100%;
      width: 100%;
      max-height: inherit;
}
    
    #OverTopHtmlContDIV. #OverTopHtmlContDIV.fixed {
        max-width: 90%!important;
        width: 90%!important;
    }
}

/*TOPLOGO ENDE*/

/* ################## Navigation Umstyling*/

#navigationV4 li a > span {
    font-size: 1.0rem; /*Schriftgroesse 1. Ebene veraendern*/
}
#navigationV4 li ul li a > span {
    font-size: 1.0rem; /*Schriftgroesse weitere Ebenen veraendern*/
    font-weight: normal;
}

ul.FM_CSS_navigationV4 li span {
font-family:"Ubuntu Condensed",Arial,sans-serif!important;
}

ul.FM_CSS_navigationV4 li ul {
font-family:"Ubuntu Condensed",Arial,sans-serif!important;
     background-color: rgba(255,255,255,1.0); /*Ebene 2 + 3 UL-Hintergrund*/
}
ul.FM_CSS_navigationV4 > li > ul > li > ul {
  left: 40%; /*Unternavi 3. Ebene Position*/
}


#NavipunktContainer li {
background-color: rgba(255,255,255,0); /*1. Ebene */
    outline: 0px dotted rgba(243,146,0,0.7);
}
#NavipunktContainer li>a span {
color: rgba(0,0,0,0.9);  /*1. Ebene */
}

ul.FM_CSS_navigationV4 ul li a {
  background-color: rgba(243,146,0,1.0)!important;      /*2. EBENE Button Hintergrundfarbe */
}
ul.FM_CSS_navigationV4 ul li a>span {
  color: rgba(255,255,255,1.0)!important;      /*2. EBENE Button Hintergrundfarbe */
}
ul.FM_CSS_navigationV4 ul li a:hover {
  background-color: rgba(243,146,0,0.5)!important;      /*2. EBENE Button Hintergrundfarbe Hover */
}
ul.FM_CSS_navigationV4 ul li a:hover span {
  color: rgba(0,0,0,1)!important;              /* ueberschreibt Schrift-Farbe bei hover 2. Ebene */
}

/*Hintergrundfarbe für Navileiste fixed*/
#NavipunktContainer.fixed {
 background: rgba(255,255,255,1.0)!important;
  border-bottom: 0px;
}

#NavipunktContainer {
    top: 0!important; /*Aendert Abstand zum Content*/
}
#NavipunktContainer.fixed {
    top: 0!important;
}

#NavipunktContainer.fixed li {
  background-color: rgba(255,255,255,1)!important;
  border-bottom: 0px;
}

#navactive {
  background-color: rgba(255,255,255,0.2)!important;
   /* background-image:url(/lib/imgAllg/dreieckUn.svg);*/
  background-position:50% 0;
  background-size:10px 15px;
  background-repeat:no-repeat
    border-radius: 0!important;
    -webkit-border-radius: 0!important;
    -moz-border-radius: 0!important;
      transition-property:all;
  -webkit-transition-property:all;
  -webkit-transition:all .3s ease-in-out;
  -moz-transition:all .3s ease-in-out;
  -o-transition:all .3s ease-in-out;
  transition:all .3s ease-in-out
}
#navactive span {
    color: rgba(243,146,0,1)!important;
}
#navactive:hover {
  background-color: rgba(243,146,0,0)!important;
    outline: 1px dotted rgba(243,146,0,1)!important;
  border-radius: 0px!important;
  -moz-border-radius: 0px!important;
  -webkit-border-radius: 0px!important;
      transition-property:all;
  -webkit-transition-property:all;
  -webkit-transition:all .3s ease-in-out;
  -moz-transition:all .3s ease-in-out;
  -o-transition:all .3s ease-in-out;
  transition:all .3s ease-in-out
}

/*Navigation Umstyling Ende*/

/* ############# NEWS-IFRAME-TEIL überschreiben ####### */

#NEWS {

    height:115px;
	min-height: 115px;
    margin-bottom: 0%;

}
#NEWS:hover {
	
}
#NEWS iframe{
    min-height: 115px;
    height: 115px;
    
        border-radius:0px;
    -moz-border-radius:0px;
    -webkit-border-radius:0px;
}
@media screen and (max-width: 959px) {
        
    #NEWS { 
		float: none;
		clear: both;
		margin-left: auto;
		margin-right: auto;
    width:100%; 
    height:340px;  
    box-shadow:0px 0px 0px 0px #e3e3e3; 
    border-radius:0px; 
}
    
    #NEWS iframe {
        height: 338px;
    }
}


/*Logoposition Mobile*/
@media screen and (max-width: 959px) {
#OverTopHtmlContDIV {
    margin-top: 100px;
    margin-bottom: 20px;
    width: 90%
}
    
    
}

/*###### BOTTOM-TEIL ÜBERSCHREIBEN */

/* Haupt-Wrapper für den Inhalt unterhalb der News */
.footer-content-wrapper {
    display: flex;
    flex-wrap: wrap; /* Erlaubt den Umbruch der Elemente */
    justify-content: space-between; /* Verteilt den Platz zwischen den Elementen */
    padding: 20px 0;
    gap: 20px; /* Abstand zwischen den Spalten und Reihen */
}

/* InfoBox links und Kontakt rechts */
.footer-infobox, .footer-contact {
    flex-grow: 1; /* Beide Elemente versuchen, den verfügbaren Platz gleichmäßig einzunehmen */
    flex-basis: 300px; /* Mindestbreite, bevor sie umbrechen */
  padding: 20px;
  background-color: rgba(243,146,0,0.5);
  border-radius: 3px;
  -webkit-border-radius:3px;
}

/* Speziell für den Kontakt-Teil, um ihn rechtsbündig zu halten, wenn Platz ist */
.footer-contact {
    text-align: right;
}
.footer-contact .headline {
    font-family: 'Ubuntu Condensed';
    font-size: 1.3em;
  margin-top:0;
}

/* Container für die restlichen Elemente (Impressum, Änderung, Buttons) */
.footer-meta {
    flex-basis: 100%; /* Nimmt die volle Breite ein und rutscht somit in die nächste Zeile */
    text-align: center; /* Zentriert den Inhalt */
    margin-top: 20px;
}

.footer-meta p {
    margin: 0 0 10px 0;
}

.last-change {
    margin-bottom: 15px;
    font-size: 0.8em;
}

/* Styling für die Buttons */
.footer-actions a.footer-button {
    display: inline-block;
    padding: 8px 16px;
    border: 0px solid #ccc; /* Beispiel-Rahmen */
    background-color: rgba(153,0,0,1); /* Beispiel-Hintergrund */
    color: white;
  font-weight: bold;
    text-decoration: none;
    margin: 0 5px;
    border-radius: 4px;
}

.footer-actions a.footer-button:hover {
    background-color: rgba(153,0,0,0.8);
}

/* Stile für Firmenname und Slogan */
.company-name {
     font-family: 'Ubuntu Condensed';
    font-size: 1.3em;
  margin-bottom: 0;
}

.company-slogan {
    margin: 0 0 10px 0;
}

/* Responsive Anpassung für kleinere Bildschirme */
@media (max-width: 768px) {
    .footer-content-wrapper {
        flex-direction: column; /* Elemente untereinander anordnen */
        align-items: center;   /* Alles zentrieren */
        text-align: center;
    }

    .footer-contact {
        text-align: center; /* Auch den Kontakt zentrieren */
    }
}

#sitemapDiv {
  height: 55px;
  font-weight: bold;
}
/*ENDE BOTTOM-TEIL ÜBERSCHREIBEN */


/*HINTERGRUENDE */
.primaryContainer0,
.primaryContainer2,
.primaryContainer3,
.primaryContainer6,
.primaryContainer10,
.primaryContainer21,
.primaryContainer99
{
    height: auto;
    margin-left: auto;
    margin-right: auto;
    min-height: 100%;
    width: 100%;
    background-color: rgba(243,146,0,1);
/*	background: url("../ms02Pics/hint2.jpg") no-repeat center center fixed;*/
   
  -webkit-background-size: cover;
-moz-background-size: cover;
-o-background-size: cover;
background-size: cover;
background-attachment: fixed;
    position: relative;
    
    
      -webkit-animation-duration: 0.4s;
  animation-duration: 0.4s;
  -webkit-animation-fill-mode: both;
  animation-fill-mode: both;
    
    -webkit-animation-delay: 0.4s;
-moz-animation-delay: 0.4s;
animation-delay: 0.4s;
    
    -webkit-animation-name: fadeIn;
    -moz-animation-name: fadeIn;
  animation-name: fadeIn;
    
   
}


/*HINTERGRUENDE ENDE */


#ContStartseiteHTMLDiv {
    clear: both;
    padding: 1%;
    font-size: 1.1em;
    line-height: 1.4em;
	background-color: rgba(255,255,255,0.2);
	
}



/*############################################# 959 */
/*mobile HINTERGRÜNDE*/
@media screen and (max-width: 959px) {
   
	body {
		background-color: #fff;
	}
    
    
   .primaryContainer0,
.primaryContainer2,
.primaryContainer3,
.primaryContainer6,
.primaryContainer10,
.primaryContainer21,
.primaryContainer99 {
 
  background-color: #fff;
}

}

