/* ===== Base ===== */
/* {
    outline: 1px solid teal;
  }*/

html {
    background: #fff;
}

body {
    margin: 0;
}

header,
main {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 0;
}

.cardwrapper {
    display: flex;
    margin-bottom: 26.6px;
    width: 100%;
    overflow: scroll;
    scrollbar-width: none;
    /* Für Firefox nötig*/
    -ms-overflow-style: none;
    /* IE, Edge */
}

/*für chrome und safari nötig*/
.cardwrapper::-webkit-scrollbar {
    display: none;
}

#logo {
    fill: #FF0044;
    width: 357px;
}

#headline {
    font-size: 40px;
    font-family: 'PT Serif';
    width: 350px;
    text-align: center;
    line-height: 40px;
    margin: 0;
}

#subheadline {
    font-size: 20px;
    font-family: 'Arsenal';
    color: #FF0044;
    width: 278px;
    text-align: center;
    margin-top: 0;
    font-weight: bold;
}

/* ===== Info-Cards oben ===== */
.infocard {
    height: 398px;
    width: 291px;
    border-radius: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 16px;
    box-shadow: 4px 4px 10px 0 rgba(0, 0, 0, 0.25);
}

.infocard>article {
    font-family: 'Arsenal';
    width: 252px;
    font-size: 20px;
    text-align: justify;
    padding: 0 21px;
}

#secondinfocard>article>p {
    margin-bottom: 20px;
}

#birne {
    width: 90px;
    height: 180px;
}

#kommunikation {
    width: 178px;
    height: 198.21px;
}

#massband {
    width: 116px;
    height: 140px;
    margin-top: 20px;
}

/* ===== Steps / Timeline ===== */
.stepswrapper {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 80px;
}

.stepswrapper>h2 {
    text-align: center;
    font-family: 'Arsenal';
    font-size: 30px;
    width: 265px;
}

/* Timeline-Container */
.timeline-wrapper {
    position: relative;
    width: 100%;
    max-width: 600px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    z-index: 0;
}

.line {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    background: #eee;
    top: 0;
    /* immer ganz oben */
    height: 100%;
    /* immer volle Höhe */
    z-index: 0;
}

.line-fill {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    /* optional: auch immer volle Höhe */
    background: #FF0044;
    z-index: 1;
}


/* Punkte */
.point {
    position: relative;
    width: 20px;
    height: 20px;
    border: 4px solid #eee;
    border-radius: 50%;
    background: #fff;
    margin: 80px 0 80px;
    /* Abstand nach oben/unten zwischen den Punkten */
    z-index: 2;
    transition: background .3s, border-color .3s;
}

.point.active {
    background: #FF0044;
    border-color: #FF0044;
}

/* Stepcards (direkt NACH jedem Punkt im HTML) */
.stepcard {
    width: 250px;
    height: 336px;
    border: solid #FF0044 3px;
    border-radius: 20px;
    color: white;
    background-color: #FF0044;
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    /*box-shadow: 4px 4px 10px 0 rgba(0, 0, 0, 0.25);*/
}

.stepcard>h2 {
    font-family: 'PT Serif';
    font-size: 35px;
    margin: 25px 0 30px 0;
}

.stepcard>article {
    width: 200px;
}

.stepcard>article>p {
    font-family: 'Arsenal';
    font-size: 22px;
    text-align: justify;
    margin: 0;
}


/*untere Abschnitte*/

.textwrapper {
    display: grid;
    grid-template-columns: 1fr;
    margin-top: 75px;
    margin-bottom: 75px;
    gap: 75px;
}

.textblock {
    font-family: 'Arsenal';
    width: 320px;
}

.textblock>h2 {
    font-size: 35px;
}

.textblock>article>p {
    font-size: 25px;
}

.textblock>article {
    text-align: justify;
}

#grundsatz {
    display: grid;
    grid-template-columns: 1fr 1fr;
    column-gap: 20px;
    overflow: hidden;
}

#grundsatz> :first-child {
    grid-column: 1 / -1;
    /* erste Reihe über volle Breite */
}

#grundsatz>img {
    margin-top: 25px;
}

/*=====Kontaktformular=======*/
.kontaktwrapper{
    margin-top: 10px;
}
.kontaktwrapper>.kontaktheadingwrapper>h1 {
    font-family: 'Erica One';
    font-size: 55px;
    width: 320px;
    line-height: 50px;
    color: #FF0044;
    margin: 0;
}

.kontaktwrapper>.kontaktheadingwrapper>h3 {
    font-family: 'Arsenal';
    font-size: 22px;
    font-weight: bold;
    margin-top: 10px;
    margin-bottom: 0;
}

/*Form*/
.formwrapper {
    display: flex;
    flex-direction: column;
    width: 320px;
    gap: 15px;
    margin-bottom: 200px;
}
.inputwrapper{
    display: flex;
    flex-direction: column;
}

.inputheading {
    font-family: 'Arial';
    font-weight: 500;
    font-size: 18px;
}

.inputform {
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.15);
    border: solid gray 1px;
    border-radius: 5px;
    font-size: 16px;
}


.inputwrapper>textarea {
    resize: none;
}

/* Nur für Datenschutz-Sektion */
.inputwrapper.datenschutz {
    align-items: flex-start;
}

.checkboxlabel {
    display: flex;
    align-items: center;
    font-size: 14px;
    font-family: 'Arial';
    font-weight: lighter;
    margin-top: 5px;
}
#datenschutz{
    margin: 5px 10px 5px 0;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.15);
    border: solid gray 1px;
    border-radius: 5px;
}
.submitbutton{
    background-color:#FF0044;
    color: white;
    border: 0px;
    border-radius: 5px;
    height: 30px;
    font-family: 'Arial';
    font-size: 16px;
}

/*=========FOOTER==========*/
footer{
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 3rem;
}
.footerwrapper{
    width: 340px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: end;
    font-family: 'Arial';
    font-size: 14px;
}
.footerwrapper > * >*{
    margin: 5px 0 0 0;
}
.rechts{
    text-align: right;
    /*padding: 20px 20px 20px 0;*/
}
.links > p > a{
    color: unset;
}




/*===========MEDIA QUERY SECTION=============*/

@media screen and (min-width: 970px) {
    .cardwrapper{
        justify-content: center;
        margin-bottom: 150px;
    }
    #logo{
        width: 900px;
        margin-top: -80px;
    }
    #headline{
        width: unset;
        font-size: 45px;
        margin-top: 30px;
    }
    #subheadline{
        width: unset;
        margin-top: 14px;
        font-size: 25px;
    }
    .stepswrapper>h2{
        width: unset;
        font-size: 40px;
    }
    .textblock{
        width: 887px;
    }
    .kontaktwrapper{
        display: grid;
        grid-template-columns: 1fr 1fr;
        width: 930px;
        margin-top: 120px;
    }
    .formwrapper {
        justify-self: end; /* richtet das Element horizontal am rechten Zellenrand aus */
    }
    #grundsatz{
        column-gap: 40px;
    }
    .professionell-wrapper{
        display: grid;
        grid-template-columns: 50% 50%;
        width: 887px;
    }
    .professionell-wrapper > .textblock{
        width: auto;
    }
    .footerwrapper{
        width: 930px;
    }
}

@media screen and (min-width: 1160px){
    .timeline-wrapper{
        flex-direction: unset;
        max-width: unset;
    }
    .line,.line-fill,.point{
        display: none;
    }
    .stepcard{
        margin: 0 20px 0 20px;
        background-color: white;
        color: black;
        box-shadow: 4px 4px 10px 0 rgba(0, 0, 0, 0.25);
        border: unset;
    }
    .stepswrapper{
        gap: 40px;
        margin-bottom: 100px;
    }
}
