h1,h2,h3,p,li,ul{
    color: black
}

main{
    width: 976px;
    display: flex;
    flex-direction: column;
    align-items: center;
}
button.primary{
    background-color: var(--primary);
    color: white;
    border: none;
}
button.secondary{
    background-color: white;
    color: var(--primary);
    border: 2.5px solid var(--primary);
}
section{
    display: flex;
    flex-direction: row;
    align-items: center;
    position: relative;
    gap: 50px;
    margin-bottom: 100px;
}
section.short{
    margin-bottom: 50px;
}
.buttons button{
   
}
section.short .buttons{
    margin: 50px 0 0 0 ;
    justify-content: center;
}
section.short p, section.thin, ps{
    font-size: 21.7px;
}
section.inverted{
    flex-direction: row-reverse;
}
section img{
    border-radius: 20px;
    width: 290px;
    object-fit: cover; 
    margin-bottom: 15px;

    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1), 0 2px 6px rgba(0, 0, 0, 0.08);
}
section div.imgcont{
    max-width: 1500px;
    width: 500px;
    overflow: hidden;
}
h1{
    margin: 0 0 30px 0;
}
h3{
    font-size: 20px;
    font-weight: 800;
    margin: 20px 0 20px 0;
}
.questions h3{
    margin: 40px 0 20px 0;
}
.questions button{
    margin-top: 10px !important;
}
p,ul,li{
    font-size: 20px;
}
button{
    font-size: 21px;
    margin: 0 !important;
}
a{
    color: black
}
a:hover{
    text-decoration: underline !important;
}
section.thin{
    width: 90%;
    padding: 100px 5%;
    border-top: none;
    margin: 0;
    position: relative;
}

/* First section → bigger border */
section.first-thin::before{
    content: "";
    position: absolute;
    top: 0;
    left: 0%;
    width: 100%;
    border-top: 1px solid rgba(0,0,0,0.2);

}

/* All other sections */
section.thin:not(.first-thin)::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    border-top: 1px solid rgba(0,0,0,0.2);
}
.noborder::before{
    display: none
}

section.cards p, section.cards h2, .centeredonpc{
    text-align: center;

}
section.cards>div{
    width: 100%;
}
.grid {
    margin-top: 50px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(375px, 340px));
    gap: 30px;
    justify-content: center;
}
.card2 {
    background: rgba(217, 217, 217, 0.2);
    padding: 35px;
    text-align: left;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    
    
    width: 375px;
    height: 240px;
}
.card2 h3 {
    font-size: 23px;
    font-weight: 500 ;
    margin: 0 0 20px 0;
}
.card2 a {
    font-size: 21.7px;
    color: var(--primary); /* DAS steuert die SVG-Farbe */
    text-decoration: none;
    font-weight: bold;
}

.card2 a::after {
    content: '';
    display: inline-block;
    width: 16px;
    height: 16px;
    margin-left: 8px;

    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 492.004 492.004'%3E%3Cpath fill='%233A9D61' d='M484.14 226.886L306.46 49.202c-5.072-5.072-11.832-7.856-19.04-7.856-7.216 0-13.972 2.788-19.044 7.856l-16.132 16.136c-5.068 5.064-7.86 11.828-7.86 19.04 0 7.208 2.792 14.2 7.86 19.264L355.9 207.526H26.58C11.732 207.526 0 219.15 0 234.002v22.812c0 14.852 11.732 27.648 26.58 27.648h330.496L252.248 388.926c-5.068 5.072-7.86 11.652-7.86 18.864 0 7.204 2.792 13.88 7.86 18.948l16.132 16.084c5.072 5.072 11.828 7.836 19.044 7.836 7.208 0 13.968-2.8 19.04-7.872l177.68-177.68c5.084-5.088 7.88-11.88 7.86-19.1-.02-7.244-2.812-14.04-7.9-19.12z'/%3E%3C/svg%3E");
    background-size: contain;
    background-repeat: no-repeat;
}
.thin .buttons{
    margin-top: 50px;
}
button.access{
    margin: 30px auto 90px auto !important;
    border-radius: 10px;
}
button.eckig{
    border-radius: 10px;
    font-weight: 500;
    padding: 10px 25px ;

}
button a{
    color: inherit;
    text-decoration: none;
}
.interview .profile{
    flex: 3;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.interview .questions{
    flex: 7
}
.profile{
    display: flex;
    flex-direction: column;
    align-items: start;
}
.profile b{
        font-variation-settings: 'wght' 600;
}
.profile img{
    width: 130px;
    height: 130px;
    box-shadow: none;
}
@media (max-width: 700px) {

    section::before, section::after{
        display: none
    }

    section.cards p, section.cards h2, .centeredonpc{
        text-align: left;

    }

    .grid {
        grid-template-columns: 1fr;
    }
    section div.imgcont{
        max-width: 100%;
    }

    section{
        flex-direction: column !important;
        gap: 8vw;
        margin-bottom: 10vw;
        align-items: center;
    }
    section img{
        width: 60vw;
        border-radius: 4vw;
    }
    section.short{
        margin-bottom: 5vw;
    }
    h3{
        font-size: 5vw;
    }
    .thin{

    }
    .access{
        display: none
    }
    .buttons{
        margin: 0 0 3vw 0;
        flex-direction: column;
        align-items: center;

    }
    .buttons button{
        border-radius: 50vw;
    }
    .eckig{
        font-size: 4vw;
    }
    
    section.short p, section.thin, ps {
        font-size: 4.5vw;
    }
    h3 {
        margin: 5vw 0 5vw 0;
    }
}

@media (max-width: 700px) {

    section.thin{
        padding: 5vw 0;
    }

    /* GRID */
    .grid {
        grid-template-columns: 1fr;
        gap: 5vw;
        margin-top: 5vw;
    }

    /* CARD */
    .card2 {
        width: 100%;
        height: 45vw;
        padding: 8vw;
        border-radius: 7vw;
    }

    .card2 h3 {
        font-size: 5vw;
        margin-bottom: 4vw;
    }

    .card2 p {
        font-size: 4.5vw;
    }

    .card2 a {
        font-size: 4.5vw;
        margin-top: 4vw;
    }

    .card2 a::after {
        width: 4vw;
        height: 4vw;
        margin-left: 2vw;
    }
}