/*--- general config*/

/* * {
    outline: 1px dashed rgba(255,255,255,0.5);
} */

@font-face {
    font-family: "roboto-condensed";
    src: url("fonts/RobotoCondensed-Bold.woff2");
    font-weight: 900;
    font-style: bold;
}
@font-face {
    font-family: "roboto-condensed";
    src: url("fonts/RobotoCondensed-Regular.woff2");
    font-weight: 400;
    font-style: normal;
}
@font-face {
    font-family: "roboto-condensed";
    src: url("fonts/RobotoCondensed-Italic.woff2");
    font-weight: 400;
    font-style: italic;
}


* {
    box-sizing: border-box;
}

:root {
    --colorMain: rgb(226, 131, 46);
    --colorMainLight:rgb(231, 157, 75);
    --colorFont: white;
    --colorFontReversed: black;
    
    --columnWidth: 18em;
}

body {  
    
    background-image: url('images/HGneu.png'); 
    background-size: cover;
    background-attachment: fixed;
    background-color: var(--colorMainLight);
    background-position: center;
    color: var(--colorFont);
    font-family: "roboto-condensed" ,sans-serif, "Helvetica";
    hyphens: auto;
    hyphenate-limit-chars: 12;
    font-size: 1.1em;
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

/*--- generic elements*/

h1, h3 {
    font-weight: 100;
    color: var(--colorFontReversed);
    padding: 1em;
    display: inline-block;
}

    h2 {
        /* transform: rotate(357deg); */
        font-size: 1rem;
        overflow: hidden;
    }

p {
    margin-top: 0px;
    margin-bottom: 2em;
    text-align: justify;
}

q {
    font-style: italic;
}

ol {
    padding-left: 1em;
}

a {
    color: rgb(169, 85, 12); /* Normale Linkfarbe */
}

a:hover {
    color: white; /* Farbe beim Hover */
}

a:visited {
    color: rgb(169, 85, 12); /* Farbe für besuchte Links */
}

.fish {
    width: 4em;
}

.fish_berufseinstieg {
    display: block;
    width: 5em;
    margin-right: 2em;
}

/*--- complex elements*/

.dropDown {
    cursor: pointer;
    margin-bottom: 2em;
    width: 100%;
}
    .dropDown__title {
        background-color: var(--colorMain);
        color: var(--colorFont);
        margin: 0px;
        font-size: 1em;
        padding: 0.6em;
        display: flex;
        position: relative;
        justify-content: center;
    }
        .dropDown__title::before {
            content: "\25bc";
            position: absolute;
            right: 1em;
        }
            .dropDown--open>.dropDown__title::before {
                content: "\25b2";
                position: absolute;
                right: 1em;
                
            }

    .dropDown__content {
        padding: 0px;
        display: flex;
        align-items: center;
        flex-direction: column;
        padding-left: 1em;
        padding-right: 1em;
        max-height: 0px;
        overflow: hidden;
        transition:
            max-height 1s,
            padding 1s;
        
    }
        .dropDown--open>.dropDown__content {
            max-height: 90em;
            padding: 1em;
        }

    .dropDown--pdf.dropDown--open{
        z-index: 100;
        position: fixed;
        top: 0px;
        left: 0px;
        width: 100%;
        height: 100%;
    }
        .dropDown--pdf>.dropDown__content {
            width: 100%;
            height: 100%;
            transition: 0s;
        }
        .dropDown--pdf.dropDown--open>.dropDown__content {
            width: 100%;
            height: 100%;
            max-height: calc(100vh - 2.5em);
            transition: 1s;
            padding: 0px;
        }

.numberDisplay{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background-color: var(--colorMain);
    width: fit-content;
    padding: 1em;
    width: 10em;
    margin-bottom: 0em;
}
    .numberDisplay__number {
        font-size: 5em;
    }

    .numberDisplay__label {
        font-weight: 600;
        color: white;
    }

.quoteBox {
    display: flex;
    margin-bottom: 2em;
    align-items: center;
    justify-content: center;
}

.quoteBox_berufseinstieg {
    display: flex;
    margin-bottom: 0em;
    align-items: center;
    justify-content: center;
   /*max-width: 100%; */
}
    .quoteBox>.fish{
        width: 5em;
        margin-right: 1em;
        margin-top: -1em;
    }

.swiper {
    --imageFocus: 1;
    display:flex;
    align-items: center;
    width: 24em;
    overflow: hidden;
    position: relative;
    margin: 0em;
}
    .swiper.js{
        overflow: hidden;
    }

    .swiper__content {
        width: 100%;
        height: 100%;
        flex-shrink: 0;
        padding: 1em;
        text-align: left;
        
    }
    .swiper__content:first-child{
        transition: 1s;
        margin-left: calc(-100% * (var(--imageFocus) - 1));
    }
    .swiper__button {
       background: transparent;
        bottom: 0px;
        height: 100%;
        z-index: 1;
        border: none;
        transition: 1s;
        cursor: pointer;
        font-size: 1.4em;
        color: var(--colorFont);
       
    }
        .swiper__button--back {
            left: 0px;
        }
        .swiper__button--forward {
            right: 0px;
        }

.button__bg {
    border-radius: 10em;
    border-color: transparent;
    border-width: 2px;
    border-style: solid;
    height: 2em;
    width: 2em;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 0.5s;
    color: white;
}
    .swiper__button:hover>.button__bg {
        border-color: transparent;
        font-weight: 790;
    }

/*content structure*/

header {
    position: fixed;
    z-index: 2;
    top: 0px;
    width: 100%;
    height: 2rem;
    font-size: 1.4rem;
    text-align: center;
    background-color: var(--colorMainLight);
    overflow: hidden;
}

section {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-width: 100%;
    padding-left: 10%;
    padding-right: 10%;
    overflow: visible;
    margin-bottom: 2em;
}
.page {
    /*border-top: 1px dashed white;*/
    /*min-height: 80vh;*/
    position: relative;
    max-width: 100%;
    overflow: hidden;
}
    .page--VCentered {
        align-items: center;
    }

    article {
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
        /*width: 100%;*/
        /*max-width: 60em;*/
        overflow: visible;
    }

.article__title {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 2em;
    overflow: visible;
}

    .article__titleImage {
        height: 14em;
        transition: 4s ease;
        position: relative;
        left: -100%;
        margin-top: 0em;
        /*margin-bottom: 2em;*/
        max-width: 100%;
    }
        .focusable--visibleOnce>.article__titleImage {
            left: 3rem;
        }

    .article__titleLine {
        width: 2em;
        margin: -0.2em;
        height: 1px;
        background-color: var(--colorFont);
        margin-top: 0.1em;
        transform: rotate(357deg);
    }

.columns_projekte {
    display: flex;
    justify-content: space-evenly;
    flex-direction: column;
}

.columns {
    display: flex;
    justify-content: space-evenly;
    flex-wrap: nowrap;
    max-width: 100%;
    margin-bottom: 2em;
}

    .columns__slim {
        width: var(--columnWidth);
        align-items: center;
        display: flex;
        flex-direction: column;
        margin-bottom: 2em;
        
    }

    .columns__slim>p {
        padding: 0px 1.6em;
        
    }

    .columns__breit {
        width: 25em;
        align-items: center;
        display: flex;
        flex-direction: column;
        margin-bottom: 2em;
        
    }

.columns_footer_head{
    display: flex;
    justify-content: space-between;
    flex-wrap: nowrap;
}

    .colums_footer {
        display: flex;
        flex-wrap: wrap;
    }

.columns__space {
    display: flex;
    justify-content: space-between;
    flex-wrap: nowrap;
   /* width: var(--columnWidth);*/
    align-items: center;
    margin-bottom: 2em;
    margin-top: 2em;
}


.default-gif {
    fill: none;
    stroke: black;
    position: relative;
    width: 100%;
    bottom: 0px;
    overflow: hidden;
    
    /*opacity: 0;*/
}

.responsive-gif {
    display: none; 
    fill: none;
    stroke: black;
    position: relative;
    width: 100%;
    bottom: 0px;
    overflow: hidden;
}

.welle_statisch {  
    width: 100%; /* Bild passt sich der Breite an */
    /*height: auto;*/
    /*max-height: 30%;*/
    z-index: -1; /* Bild kommt hinter den Text */
    overflow: hidden;
    margin-bottom: 5em;
}

.diagram {
    display: flex; 
    height: 30em;
    align-items: center;
    max-width: 95%;
    overflow: hidden;
}

.diagram_dropdowns {
   width: 70%;
   margin-top: 2em;   
   overflow: hidden;
}

.diagram_nachrichten {
   width: 80%;
   margin-top: 2em;   
   overflow: hidden;
   display: flex;
   justify-content: center;
}

.diagram_dropdowns1 {
    width: 50%;
    margin-top: 2em;
    overflow: hidden;
}

#footer {
    background-color: var(--colorMain);
    color: var(--colorFont);
    width: 100%;
}

.pie-image {
    display: flex; 
    width: 70%;
    overflow: hidden;
    justify-content: center;
}

.p_breit{
    display: block;
}

.p_schmal{
    display: none;
}

.popUp {
    opacity:0;
    pointer-events: none;
    transition: 0.5s;
    width: 100%;
    height: 100%;
    top: 0px;
    left: 0px;
    position: fixed;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(0, 0, 0, 0.3);
}
    .popUp--visible {
        opacity:1;
        pointer-events: all;
    }

    .popUp__content {
        background-color: var(--colorMain);
        border: 1px solid;
        padding: 2em;
    }

    /*pdf-icon nur für Handyansicht*/

    .pdf-icon {
        display: none;   
    }

    /* Der Swiper für die schmale Ansicht. */

    .carousel {
        display: none;
        border: none;
        margin-bottom: 2em; 
        background-color: none;
        color: var(--colorFont);
    }
    
    .carousel-text {
        position: relative;
        overflow: hidden; /* Set height to avoid layout shifts */
    }
    
    .carousel-item {
        /*display: none;   Initially hide all text */
        align-content: center;
        width: 100%;
        height: 100%;
        
    }
    
    .controls {
        display: flex;
        justify-content: center;
        gap: 10px;
    }
    
    .control-btn {
        background: transparent;
        bottom: 0px;
        height: 100%;
        z-index: 1;
        border: none;
        transition: 1s;
        cursor: pointer;
        font-size: 1.4em;
        color: var(--colorFont);
    }
    
    .control-btn:hover {
        border-color: transparent;
        font-weight: 790;
    }
    
    .control-btn:focus {
        outline: none;
    }


/* @media (max-width: 1024px)
{
    .diagram_dropdowns{
        width: 75%;
    }

    .quoteBox_responsive {
        display: none;
    }

    .quoteBox_default {
        display: flex;
    }

 
}*/

@media (max-width: 768px)
{
    .diagram_dropdowns{
        width: 100%;
    }

    .diagram_nachrichten{
        width: 100%;
    }

}

@media (max-width: 600px)
{
    .pdf_dropdown {
        display: none;
    }

    .pdf-icon {
        display: flex;
        justify-content: center;
    }

    .pie-image {
        width: 100%;
    }
    
    .welle_statisch {
        display: none;
    }

    .dropDown__title{
        justify-content: flex-start;
    }

    .quoteBox {
        display: none;
    }

    .carousel {
        display: block;
        justify-content: center;
        align-items: center;
        
    }

    .columns{
        flex-direction: row;
        flex-wrap: wrap;
    }
    .diagram_dropdowns{
        width: 100%;
        margin-top: 1em;
    }

    .diagram_dropdowns1{
        width: 100%;
        margin-top: 1em;
    }

    .columns__slim{
        margin-bottom: 0em;
    }

    .diagram {
        max-width: 80%;
    }
   
    .focusable--visibleOnce>.article__titleImage {
        left: 0;
        max-width: 100%;
    }

    .article__title {
        max-width: 100%;
        height: auto;
        display: flex;
    }

    .article__titleImage{
        max-width: 100%;
        height: auto;
        overflow: hidden;
        left: 0;
    }

    article{
        overflow: visible;
    }

        
    .default-gif {
            display: none; /* Standard GIF ausblenden */
        }
        
    .responsive-gif {
            display: block; /* Anderes GIF anzeigen */
        }
   
    .quoteBox>.fish {
        display: none;
    }

    .p_breit{
        display: none;
    }

    .p_schmal{
        display: block;
    }

    .columns__breit {
        margin-bottom: 0em;
    }

    .columns__slim {
        margin-bottom: 2em;
    }

    .fish_berufseinstieg {
        display: none;
    }
    
    .columns_footer_head {
        flex-wrap: wrap;
    }

 
}