.impressumBotton{
  margin-top: 10px;
  margin-bottom: 10px;
}

#impressumButtonUntenContent{
  text-align: center;
  width: 100%;
}
#impressumButtonUnten{
  margin-top: 30px;

}

#impressumButtonObenContent{
  text-align: center;
  width: 100%;
}

#footerDisclaimerContent{
  color: white;
  margin-top: 25px;
  margin-left: auto;

}


#footeDigiLogo{
  display: none;
}

#footeFirmaLogo{   
 margin-top:  17px;
 margin-left: 40px;
 object-fit: contain;
}
#footeFirmaLogo img{
    width: 300px;
    height: 60px;
}

#footeFirmaLogo:hover{
 cursor: pointer ;
}

#disclaimerContent{
 padding: 0;
  margin: 0;
  list-style: none;   
  display: flex;
  align-items: center;
  justify-content: center;

}

#footerDisclaimerWarpper{
  width: 100vh;
  text-align:center;
}
.disclaimerButton{
  margin-left: 10px;

}

.disclaimerButton:hover{
    text-decoration: underline;
    cursor: pointer ;
}

#disclaimerCopyRigth{
  margin-top: 5px;
  margin-left: 25px;
  font-size: 0.9rem;
  letter-spacing:2px;
  
}

footer{
  grid-area:footer;
  background-color:black;
}
#DigiCertClickID_sut2WTwS{
    margin-top: 5px;
    margin-left: 5px;
}
/* ===== Rechtstexte als Popup (frueher ein Grid-Bereich, der die Seite ersetzt hat) ===== */
#impressumContent{
    display: none;                 /* geoeffnet wird per display:flex */
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.55);
    z-index: 20000;                /* ueber DevExtreme-Overlays und Leaflet */
    align-items: center;
    justify-content: center;
    padding: 20px;
    box-sizing: border-box;
    text-align: left;
}

#impressumDialog{
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.30);
    width: 100%;
    max-width: 900px;
    max-height: 85vh;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

#impressumDialogKopf{
    background: var(--kp-primary, #00A3E4);
    color: #ffffff;
    padding: 0 12px 0 20px;
    min-height: 52px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    flex-shrink: 0;
}
#impressumDialogTitel{
    font-size: 17px;
    font-weight: 600;
}
#impressumDialogSchliessen{
    font-size: 30px;
    line-height: 1;
    padding: 0 10px 4px;
    border-radius: 6px;
    cursor: pointer;
    user-select: none;
    flex-shrink: 0;
}
#impressumDialogSchliessen:hover{ background: rgba(255, 255, 255, 0.20); }

#impressumMemo{
    padding: 20px 24px;
    overflow-y: auto;
    overflow-x: auto;              /* breite Tabellen im DB-Text scrollen statt zu sprengen */
    flex: 1;
    text-align: left;
    line-height: 1.6;
    word-break: break-word;
}
#impressumMemo img{ max-width: 100%; height: auto; }
#impressumMemo table{ max-width: 100%; }

/* Hintergrund nicht mitscrollen, solange das Popup offen ist */
body.impressumOffen{ overflow: hidden; }

/* Mobil: Popup fuellt den Bildschirm - lange Rechtstexte brauchen den Platz */
@media screen and (max-width: 630px){
    #impressumContent{ padding: 0; }
    #impressumDialog{
        max-width: none;
        width: 100%;
        height: 100%;
        max-height: 100%;
        border-radius: 0;
    }
    #impressumMemo{ padding: 16px; }
    #impressumDialogKopf{ padding: 0 8px 0 16px; }
    #impressumDialogTitel{ font-size: 16px; }
}

@media screen and (max-width:930px){
    
     #footerContent{
         width: 600px;
     }
    
    #footeFirmaLogo{
         display: none;
        }
     #footeFirmaLogo img{
            width: 250px;
            height: 60px;
        }   
}

@media screen and (max-width:590px){
    
    #footer{
         text-align: center;  
    }
     #footerContent{
         width: 300px;
         text-align: center;
     }
    
   
        
        
        #footeFirmaLogo{
          display: none;
          }
        #footerDisclaimerWarpper{
              text-align: center;  
          }
   #DigiCertClickID_sut2WTwS{
    display: none;
}
}