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

html {
    background: #fff;
}

body {
    margin: 0;
}

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

.fade-in {
    opacity: 0;
    transform: translateY(80px);
    transition: opacity 1.2s ease, transform 1.2s ease;
}

.fade-in.show {
    opacity: 1;
    transform: translateY(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: #000000;
    width: 100px;
    margin: 30px 0 30px 0;
    align-self: flex-end;
}

.headline {
    font-size: 3em;
    font-family: 'Times';
    font-weight: normal;
    width: 350px;
    margin: 0;
    text-align: center;
    line-height: 50px;
}

.headline-wrapper{
    margin-bottom: 10%;
    margin-top: 5%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.prototype-intro {
    width: 100%;
    max-width: 600px;
    text-align: center;
    margin: 50px 0 20px 0;
    padding: 0 20px;
    box-sizing: border-box;
}

.prototype-heading {
    font-family: 'Arsenal';
    font-size: 28px;
    font-weight: 700;
    color: #000;
    margin: 0 0 15px 0;
    line-height: 1.3;
}

.prototype-heading .highlight {
    color: #FF0044;
}

.prototype-description {
    font-family: 'Arsenal';
    font-size: 18px;
    color: #737373;
    margin: 0;
    line-height: 1.5;
}


/* ===== 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);
    transition: transform 0.4s ease;*/
}
/*.infocard:hover{
    transform: rotate(2deg);
}*/

.infocard>article {
    font-family: 'Comic Relief';
    width: 252px;
    font-size: 20px;
    text-align: center;
    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;
}

/* ===== Price ===== */
.pricewrapper>.priceheading>h2 {
    font-family: 'Anton';
    font-size: 35px;
    margin: 0;
    margin-bottom: 20px;
    color:#FF0044;
    line-height: 1.2;
}

.pricewrapper {
    margin-top: 50px;
    margin-bottom: 50px;
    width: 320px;
    display: grid;
    grid-template-columns: 1fr;
}

.pricewrapper>.pricecontent>article {
    font-family: 'Arsenal';
    font-size: 22px;
}
.price{
    display: inline-block;
    transition: transform 0.4s ease;
    text-decoration: underline;
}
.price:hover{
    transform: scale(1.2);
}

/* ===== Projects ===== */
.projectswrapper > h2{
    font-family: 'Arsenal';
    font-size: 30px;
    text-align: center;
    margin-top: 50px;
    margin-bottom: 50px;
}
.projectswrapper{
    margin-bottom: 75px;
    max-width: 1000px;
}
.project{
    width: 320px;
    border-radius: 20px;
    box-shadow: 4px 4px 10px 0 rgba(0, 0, 0, 0.25);
    transition: transform 0.15s ease;
    overflow: hidden;
    font-family: 'Times';
    text-decoration: none;
}

.project:hover{
    transform: scale(1.05) ;
}
.project a {
    text-decoration: none;
    color: black;
}

.project-image img{
    width: 320px;
    height: 226px;
}

.project > article{
    font-family: 'Arial';
    font-size: 15px;
    text-align: center;
    margin-top: 10px;
}
.projectoverview{
    display: grid;
    grid-template-columns: 1fr;
    gap: 50px;
    margin-bottom: 7%;
}

.project-content{
    margin-bottom: 10px;
    padding: 10px;
}

.project-badge {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    font-size: 0.75rem;
    font-weight: 700;
    border: 1px solid #0a0a0a;
  }
  
  .project-company {
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0;
    margin-top: 10px;
  }
  
  .project-url {
    font-size: 0.875rem;
    color: #737373;
  }

/* References */
.references {
    padding: 6rem 1.5rem;
    font-family: 'Arsenal';
  }
  
  .references-subtitle {
    font-size: 1.5rem;
    color: #737373;
    margin-bottom: 4rem;
  }
  
  .references-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 2rem;
  }
  
  .reference-card {
    border: 2px solid #0a0a0a;
    background-color: #ffffff;
    transition: all 0.3s;
    width: 320px;
  }
  
  .reference-card:hover {
    box-shadow: 8px 8px 0 0 rgba(10, 10, 10, 1);
  }
  
  .reference-image {
    aspect-ratio: 3 / 2;
    overflow: hidden;
    border-bottom: 2px solid #0a0a0a;
  }
  
  .reference-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
  }
  
  .reference-card:hover .reference-image img {
    transform: scale(1.05);
  }
  
  .reference-content {
    padding: 1.5rem;
  }
  
  .reference-badge {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    font-size: 0.75rem;
    font-weight: 700;
    border: 1px solid #0a0a0a;
    background-color: #ffffff;
    margin-bottom: 0.5rem;
  }
  
  .reference-company {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
  }
  
  .reference-url {
    font-size: 0.875rem;
    color: #737373;
  }
  
  @media (max-width: 768px) {
    .references-grid {
      grid-template-columns: 1fr;
    }
  
    .section-title {
      font-size: 3rem;
    }
  
    .references-subtitle {
      font-size: 1.25rem;
    }
  }
  

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

.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;
    box-shadow: 4px 4px 10px 0 rgba(0, 0, 0, 0.25);
    transition: transform 0.4s ease;
}
.stepcard:hover{
    transform: rotate(2deg);
}

.stepcard-inside {
    display: flex;
    flex-direction: column;
    align-items: center;
}

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

.stepcard-inside>article {
    width: 200px;
}

.stepcard-inside>article>p {
    font-family: 'Arsenal';
    font-size: 22px;
    text-align: center;
    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: left;
}

/*#grundsatz {
    display: grid;
    grid-template-columns: 1fr 1fr;
    column-gap: 20px;
    
    overflow: hidden;
}*/
.professionell-wrapper > .fade-in >img{
    display: none;
}

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

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

/*=====Kontaktformular=======*/


.kontaktheadingwrapper {
    margin-bottom: 50px;
}

.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;
    cursor: pointer;
}

/*=========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) {
    #logo{
        margin: 50px 0 50px 0;
    }
    .cardwrapper {
        justify-content: center;
        margin-bottom: 75px;
    }

    .headline {
        width: 1000px;
        font-size: 5em;
        line-height: 105px;
    }

    .prototype-intro {
        max-width: 800px;
        margin: 50px 0 20px 0;
    }

    .prototype-heading {
        font-size: 40px;
        margin-bottom: 20px;
    }

    .prototype-description {
        font-size: 22px;
    }

    .pricewrapper>.priceheading>h2 {
        font-size: 45px;
    }

    .pricewrapper {
        grid-template-columns: 1fr 1fr;
        width: unset;
        margin-top: 50px;
        margin-bottom: 50px;
    }

    .stepswrapper>h2 {
        width: unset;
        font-size: 40px;
    }

    .projectoverview{
        grid-template-columns: 1fr 1fr;
    }
    .project{
        width: 400px;
    }
    .project > a >img {
        width: 400px;
    }

    .project-image img{
        width: 400px;
    }

    .projectswrapper > h2{
        font-size: 40px;
    }

    .textblock {
        width: 887px;
    }

    .kontaktwrapper {
        display: grid;
        grid-template-columns: 1fr 1fr;
        width: 930px;
    }

    .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 > .fade-in >img{
        transition: transform 0.4s ease;
        display: unset;
    }
    
    .professionell-wrapper > .fade-in > img:hover{
        transform: rotate(2deg);
    }

    .professionell-wrapper>.textblock {
        width: auto;
    }

    .footerwrapper {
        width: 930px;
    }
}

@media screen and (min-width: 1160px) {
    .timeline-wrapper {
        flex-direction: column;
        max-width: 600px;
    }

    .line,
    .line-fill,
    .point {
        display: block;
    }

    .stepcard {
        margin: 0;
        background-color: #FF0044;
        color: white;
        box-shadow: 4px 4px 10px 0 rgba(0, 0, 0, 0.25);
        border: solid #FF0044 3px;
    }

    .stepswrapper {
        gap: 80px;
        margin-top: 50px;
        margin-bottom: 50px;
    }
}

/* ===== Prototype Form ===== */
.form-wrapper {
    width: 100%;
    max-width: 600px;
    margin: 0 auto 50px;
    padding: 0 16px;
    box-sizing: border-box;
}

.prototype-form {
    width: 100%;
    box-sizing: border-box;
}

.form-card {
    background-color: #ffffff;
    border-radius: 20px;
    padding: 1.25rem;
    box-shadow: 4px 4px 10px 0 rgba(0, 0, 0, 0.25);
    margin-bottom: 1rem;
    box-sizing: border-box;
    width: 100%;
}

.form-header {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}

.form-title {
    font-family: 'Arsenal';
    font-size: 1.25rem;
    font-weight: 700;
    color: #000;
    margin: 0;
    line-height: 1.3;
}

.step-indicator {
    font-family: 'Arsenal';
    font-size: 0.875rem;
    color: #FF0044;
    font-weight: 700;
}

.progress-bar {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 2rem;
}

.progress-step {
    flex: 1;
    height: 4px;
    background-color: #e5e5e5;
    border-radius: 2px;
    transition: background-color 0.3s ease;
}

.progress-step.active {
    background-color: #FF0044;
}

.form-step {
    display: none;
}

.form-step.active {
    display: block;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-label {
    display: block;
    font-family: 'Arsenal';
    font-size: 0.9375rem;
    font-weight: 700;
    color: #000;
    margin-bottom: 0.5rem;
}

.form-input,
.form-textarea {
    width: 100%;
    max-width: 100%;
    padding: 0.75rem;
    font-family: 'Arsenal';
    font-size: 16px;
    border: 1px solid #d1d1d1;
    border-radius: 5px;
    box-sizing: border-box;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.15);
    margin: 0;
}

.form-input:focus,
.form-textarea:focus {
    outline: none;
    border-color: #FF0044;
}

.form-input.error,
.form-textarea.error {
    border-color: #FF0044;
    box-shadow: 0 0 0 2px rgba(255, 0, 68, 0.1);
}

.error-message {
    color: #FF0044;
    font-size: 0.875rem;
    margin-top: 0.25rem;
    font-family: 'Arsenal';
}

.form-textarea {
    resize: vertical;
    min-height: 100px;
}

.btn {
    font-family: 'Arsenal';
    font-size: 0.9375rem;
    font-weight: 700;
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-sizing: border-box;
    width: 100%;
    max-width: 100%;
}

.btn-primary {
    background-color: #737373;
    color: #ffffff;
}

.btn-primary.btn-disabled {
    background-color: #a0a0a0;
    cursor: not-allowed;
    opacity: 0.6;
}

.btn-primary.btn-enabled {
    background-color: #5a5a5a;
    cursor: pointer;
}

.btn-primary.btn-enabled:hover {
    background-color: #4a4a4a;
}

.btn-outline {
    background-color: transparent;
    color: #737373;
    border: 1px solid #737373;
}

.btn-outline:hover {
    background-color: #737373;
    color: #ffffff;
}

.btn-accent {
    background-color: #FF0044;
    color: #ffffff;
}

.btn-accent:hover {
    background-color: #cc0036;
}

.button-group {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-top: 1rem;
}

.button-group .btn {
    width: 100%;
}

.success-message {
    text-align: center;
    padding: 2rem 0;
}

.success-title {
    font-family: 'Arsenal';
    font-size: 1.5rem;
    font-weight: 700;
    color: #000;
    margin-bottom: 1rem;
}

.success-text,
.success-email {
    font-family: 'Arsenal';
    font-size: 1rem;
    color: #000;
    margin-bottom: 0.5rem;
}

.success-email span {
    color: #FF0044;
    font-weight: 700;
}

.form-note {
    font-family: 'Arsenal';
    font-size: 0.8125rem;
    color: #737373;
    text-align: center;
    margin-top: 1rem;
    padding: 0;
    line-height: 1.4;
    box-sizing: border-box;
}

/* Tablet und größer */
@media screen and (min-width: 600px) {
    .form-wrapper {
        margin: 50px auto 60px;
        padding: 0 24px;
    }
    
    .form-card {
        padding: 2rem;
    }
    
    .form-header {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        gap: 1rem;
    }
    
    .form-title {
        font-size: 1.5rem;
    }
    
    .step-indicator {
        font-size: 1rem;
    }
    
    .form-label {
        font-size: 1rem;
    }
    
    .form-input,
    .form-textarea {
        font-size: 1rem;
    }
    
    .btn {
        font-size: 1rem;
        padding: 0.75rem 2rem;
    }
    
    .button-group {
        flex-direction: row;
        gap: 1rem;
    }
    
    .button-group .btn {
        flex: 1;
    }
    
    .form-note {
        font-size: 0.875rem;
        padding: 0;
    }
}

@media screen and (min-width: 970px) {
    .form-wrapper {
        max-width: 800px;
        margin: 30px auto;
    }
    
    .form-card {
        padding: 3rem;
    }
    
    .form-title {
        font-size: 2rem;
    }
    
    .step-indicator {
        font-size: 1.125rem;
    }
}