@media (max-width: 1520px) {
    #linkdigital{
        left: calc(50% - 470px);
        top: 280px
    }
    #linkmesse{
        left: calc(50% + 270px);
        top: 280px
    }
}

@media (max-width: 1390px) {
    #linkdigital{
        left: calc(50% - 470px);
        top: 260px
    }
    #linkmesse{
        left: calc(50% + 220px);
        top: 260px
    }

    #header_logo #datum{
        font-size: 1.4rem
    }

    #header_logo #datum{
        display: inline-block;
        font-size: 1.4rem;
        background: rgb(0, 0, 0, 0.5);
        padding: 10px
    }
}

@media (max-width: 1345px) {
    #linkdigital{
        left: calc(50% - 490px);
        top: 250px
    }
    #linkmesse{
        left: calc(50% + 200px);
        top: 260px
    }
}


@media (max-width: 1190px) {
    #linkdigital{
        height: 280px;
        left: calc(50% - 450px);
        top: 210px
    }
    #linkmesse{
        height: 280px;
        left: calc(50% + 160px);
        top: 210px
    }

}

@media (max-width: 990px) {

    #header_logo #datum{
        float: left;
        clear: both
    }

    #inhalt header h2{
        hyphens: auto;
        -webkit-hyphens: auto;
        -moz-hyphens: auto;
        display: inline;
    }

    #inhalt .frame-default header{
        padding-bottom: 10px
    }
}


@media (max-width: 960px) {

    #header_logo #datum{
        text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.5); /* Schatteneffekt um den Text */
        background-color: rgba(0, 0, 0, 0.5); /* Halbtransparenter schwarzer Hintergrund */
        border-radius: 5px; /* Abgerundete Ecken für einen weichen Look */
        padding: 10px
    }
    
    #header.headerweiss #datum{
        text-shadow: unset;
        background-color: unset;
        border-radius: unset
    }
    
    #linkdigital{
        height: 280px;
        left: calc(50% - 380px);
        top: 280px
    }
    
    #linkmesse{
        left: calc(50% + 60px);
        top: 310px;
        width: 200px;
        
    }
}

@media (max-width: 860px) {
    
    #linkdigital{
        height: 280px;
        left: calc(50% - 350px);
        top: 300px
    }
    
    #linkmesse{
        left: calc(50% + 140px);
        top: 210px;
        width: 200px;
        
    }

    .dreispaltig .dreispaltig-column{
        width: 100%
    }

    .dreispaltig .ce-gallery, .dreispaltig .ce-gallery .ce-row, .dreispaltig .ce-gallery .ce-row .ce-column, .dreispaltig .ce-gallery .ce-row .ce-column .image{
        width: 100%
    }

    .dreispaltig img{
        width: 100%;
    }
}    

@media (max-width: 715px) {
  	#header_logo #datum{
    	font-size: 1rem
  	}

    
  
    #linkdigital{
        width: 126px;
        height: 140px;
        left: calc(50% - 212px);
        top: 370px;
    }
    #linkmesse{
        left: calc(50% + -84px);
        top: 303px;
        width: 126px;
        height: 146px;
    }

    .frame-type-textpic .ce-textpic .ce-gallery {
        float: left;
        clear: both;
        width: 100%
    }

    .ce-bodytext {
        float: left;
        clear: both
    }
    
    .frame-type-textpic .ce-textpic .ce-gallery .ce-row .ce-column, .frame-type-textpic .ce-textpic .ce-gallery .ce-row .ce-column .image{
        width: 100%
    }

    .frame-type-textpic .ce-textpic .ce-gallery .ce-row .ce-column .image img{
        width: auto;
        margin: 0 auto
    }

    
}

@media (max-width: 675px) {
    #linkdigital{
        width: 115px;
        height: 130px;
        left: calc(50% - 220px);
        top: 400px;
    }
    #linkmesse{
        left: calc(50% + -84px);
        top: 303px;
        width: 113px;
        height: 146px;
    }
}

@media (max-width: 635px) {
    #linkdigital{
        width: 108px;
        height: 130px;
        left: calc(50% - 220px);
        top: 360px;
    }
    #linkmesse{
        left: calc(50% + -77px);
        top: 303px;
        width: 106px;
        height: 121px;
    }
}

@media (max-width: 570px) {
    
    #linkdigital{
        width: 120px;
        height: 130px;
        left: calc(50% - 220px);
        top: 350px;
    }
    #linkmesse{
        left: calc(50% + -64px);
        top: 303px;
        width: 92px;
        height: 121px;
    }
}

@media (max-width: 460px) {
    #header_logo #datum{
    	font-size: 0.9rem;
        margin-top: -15px
  	}
  
    #header_logo #logotext{
      margin-bottom: 46px
    }

    html.larger #header_logo #datum{
        font-size: 0.8rem
    }
  
    #linkdigital{
        width: 94px;
        height: 114px;
        left: calc(50% - 200px);
        top: 380px
    }
}

@media (max-width: 1500px) {
    #startbackground {
        background-color: transparent; /* Hintergrundfarbe ändern, falls gewünscht */
        background-repeat: no-repeat; /* Verhindert die Wiederholung des Hintergrundbilds */
        background-position: center center;
    }
}

@media (max-width: 1090px) {
    #startbackground{
        background-color: transparent; /* Hintergrundfarbe ändern, falls gewünscht */
        background-repeat: no-repeat; /* Verhindert die Wiederholung des Hintergrundbilds */
        background-position: center center;
    }
}



@media (max-width: 1215px) {
    img {
        width: 100%;
        height: auto;
    }

    body .ueberschriftFirmen header{
        max-width: none;
        width: calc(100% - 20px);
        margin-left: 20px
    }

    .frame{
        margin-left: 20px;
        margin-right: 20px
    }

    .kategoriecontainer{
        margin-right: 20px
    }

    .ce-textpic .ce-gallery .ce-row .ce-column{
        margin-bottom: 10px
    }
    
}

@media (max-width: 1160px) {
    #header_menue{
        display: none
    }

    .hamburgerrow{
        display: block;
        margin-left: 0;
        position: absolute;
        right: 20px
    }

    #header{
        flex-wrap: wrap;
    }

    body#start #header_logo{
        display: block
    }

    #header .font-sizer{
        padding: 0;
        margin-right: 100px;
    }

    #header .headericons1{
        display: none
    }

    #header .headericons2{
        display: flex;
        flex: 1;
        flex-basis: 100%;
        margin-top: 30px;
    }

    body#start #header .font-sizer1 span a{
        color: #333;
        font-weight: bold
    }

    

    /*
    #header .font-sizer2{
        display: flex;
        flex-basis: 100%;
        justify-content: flex-end;
        margin-top: -40px
    }
    */

}

@media (max-width: 930px) {
    body .ueberschriftFirmen h1{
        font-size: 2.5em
    }

    .bildmenuecontainerbox{
        flex-basis: calc(33% - 20px)
    }
    .kategoriecontainerbox{
        flex: 1 calc(50% - 20px);
    }

    .footer_firmen .containerinnen{
        padding: 50px
    }
}

@media (max-width: 850px) {
    .dreispaltiginner .starticons{
        clear: both;
        width: 100%;
        margin-bottom: 50px
    }
}


@media (max-width: 800px) {

    body .ueberschriftFirmen h1{
        font-size: 2.3em
    }

    .bildmenuecontainerbox{
        flex-basis: calc(50% - 20px)
    }

}

@media (max-width: 960px) {
    
    #startbackground{
        /* background-image: url('/fileadmin/images/Startscreen_2023_mobil.jpg'); */
        background-image: url('/fileadmin/images/Titelbild__Mobil_Ausbildungsmesse_es_liegt_in_deiner_hand.jpg');
        background-size: cover;  /* Das Hintergrundbild so skalieren, dass es die gesamte Fläche abdeckt */
        background-repeat: no-repeat; /* Verhindert die Wiederholung des Hintergrundbilds */
        background-attachment: fixed;
        min-height: 100vh;
    }

    body.kontrast #startbackground{
        background-image: url('/fileadmin/images/Mobil_Handy.jpg');
    }
    
}

@media (max-width: 800px) {
    
    .zweispaltig .zweispaltig-column{
        flex: unset;
        float: left;
        clear: both;
        width: 100%
    }
  
    .ce-gallery[data-ce-columns="2"] .ce-column, .ce-gallery[data-ce-columns="3"] .ce-column, .ce-gallery[data-ce-columns="4"] .ce-column{
		width: calc(100% - 10px);
        clear: both
	}
}

@media (max-width: 660px) {

    #header_logo, #header_logo #logotext{
        font-size: 1.3rem
    }

    body .ueberschriftFirmen h1{
        font-size: 1.8em
    }

    .kategoriecontainerbox{
        flex: 1 calc(100% - 20px)
    }

    .footer_firmen .containerinnen{
        padding: 35px
    }

    #inhalt p{
        /* font-size: 0.8em */
        word-wrap: break-word;
    }

    #inhalt p a {
        overflow: hidden;
        display: -webkit-box;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 3;
    }

}

@media (max-width: 580px) {
    #header .font-sizer2{
        display: flex;
        flex-basis: unset;
        justify-content: unset;
        margin-top: 10px
    }
}

@media (max-width: 520px) {
    #header_logo{
        font-size: 1.15rem
    }

    #header_logo #datum{
        margin-top: 25px
    }

    #header_logo #datum span{
        white-space: unset;
    }
    
}

@media (max-width: 450px) {
    
    .bildmenuecontainerbox{
        flex-basis: calc(100% - 20px)
    }

    .footer_firmen .containerinnen{
        padding: 20px
    }

    html.larger body#start #header_logo a{
        font-size: 0.9rem
    }
}

@media (max-width: 445px) {
    #header_logo, #header_logo #logotext{
        font-size: 1.1rem;
    }
}

@media (max-width: 380px) {
    #header_logo{
        font-size: 1rem;
    }
}