body {
    font-family: "Inter", Arial, sans-serif;
    margin: 20px;
    padding: 0;
    line-height: 1.6;
    background-color: #ffffff;
    min-height: 100vh;
}

.quiz-wrapper {
    padding: 0;
    max-width: 600px;
    width: 100%;
    margin: 0 auto;
    box-sizing: border-box;
}

/* Logo styles */
#topLogoContainer {
    text-align: center;
    margin-bottom: 20px;
}

#topLogoContainer img {
    max-width: 180px;
    height: auto;
}

/* Progress bar styles */
#progressBarContainer {
    width: 100%;
    background-color: #e5e7eb;
    height: 12px;
    border-radius: 6px;
    overflow: hidden;
    margin-bottom: 25px;
}

#progressBar {
    height: 100%;
    width: 0%;
    background-color: #4aa614;
    transition: width 0.4s ease-in-out;
    border-radius: 6px;
}

/* Step container styles */
.quiz-step {
    margin-bottom: 25px;
    text-align: center;
}

.quiz-step:not(.active) {
    display: none;
}

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

.quiz-step p {
    color: #374151;
    margin-bottom: 15px;
    font-size: 1.1em;
}

.quiz-step p strong {
    color: #1f2937;
    font-size: 1.25em;
    display: block;
    margin-bottom: 10px;
}

.quiz-step .step_head {
    font-size: 1.5em;
    line-height: 1.3;
    padding-bottom: 20px;
    padding-top: 10px;
    font-family: "Inter", sans-serif;
    text-align: center;
    font-weight: 700;
    color: #1f2937;
}

.quiz-step .step_dec {
    color: #1A202C;
    font-family: "Inter", sans-serif;
    font-size: 16px;
    line-height: 24px;
    text-align: center;
    padding-bottom: 20px;
}

.option-button {
    padding: 18px 25px;
    font-size: 1em;
    cursor: pointer;
    border: none;
    border-radius: 8px;
    background-color: #4aa614;
    color: white;
    transition: background-color 0.2s ease, transform 0.1s ease;
    font-weight: 700;
    width: 100%;
    box-sizing: border-box;
    margin-bottom: 12px;
    text-align: center;
    font-family: "Inter", sans-serif;
}

.option-button:hover {
    background-color: #1a6504;
    transform: translateY(-1px);
}

.option-button:active {
    transform: translateY(0px);
}

.horizontal-container {
    display: flex;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
    padding: 0 20px;
}

.horizontal-container .option-button {
    flex: 1 1 45%;
    min-width: 120px;
    padding: 12px;
    margin-bottom: 0;
    margin-right: 0;
}

.horizontal-container .option-button .head {
    color: white;
    font-family: "Inter", sans-serif;
    font-size: 16px;
    display: block;
    margin-bottom: 5px;
}

.horizontal-container .option-button .img {
    margin: 0px auto;
    max-width: 50px;
    display: block;
    height: auto;
}

.form_field_cont {
    margin-bottom: 20px;
}

input[type="number"] {
    box-shadow: rgba(132, 132, 132, 1) 0px 0px 0px 1px;
    border: none;
    outline: none;
    padding: 0 16px;
    height: 40px;
    width: 100%;
    border-radius: 0.5rem 0 0 0.5rem;
    color: #1A202C;
    font-family: "Inter", sans-serif;
    font-size: 16px;
    appearance: none;
    -moz-appearance: textfield;
    margin-bottom: 0;
}

input[type="number"]::-webkit-outer-spin-button,
input[type="number"]::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

input[type="number"].error_field {
    box-shadow: #E53E3E 0px 0px 0px 2px;
}

.input-unit-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0;
    max-width: 250px;
    margin: 0 auto;
}

.input-unit-container span.unit {
    height: 40px;
    background-color: #e5e4e0;
    color: #1A202C;
    font-family: "Inter", sans-serif;
    font-size: 16px;
    padding: 0 16px;
    border-radius: 0 0.5rem 0.5rem 0;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: 2px;
}

.form_lable {
    margin-bottom: 8px;
    display: block;
    font-weight: 700;
    color: #1A202C;
    font-family: "Inter", sans-serif;
    font-size: 16px;
    text-align: left;
    max-width: 250px;
    margin-left: auto;
    margin-right: auto;
}

.error-message {
    color: #E53E3E;
    font-family: "Inter", sans-serif;
    font-size: 14px;
    margin-top: 8px;
    text-align: left;
    max-width: 250px;
    margin-left: auto;
    margin-right: auto;
    display: none;
}

.bodytype-option {
    background-color: #4aa614;
    padding: 12px;
    cursor: pointer;
    text-align: center;
    width: calc(33.333% - 10px);
    border-radius: 0.375rem;
    transition: background-color 0.2s ease;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 200px;
}

.bodytype-option:hover {
    background-color: #1a6504;
}

.bodytype-option img {
    max-width: 100%;
    height: 120px;
    object-fit: contain;
    margin-bottom: 15px;
}

.bodytype-option img.male_pic,
.bodytype-option img.female_pic {
    display: none;
}

.bodytype-option span.head {
    font-weight: 700;
    color: white;
    font-family: "Inter", sans-serif;
    font-size: 18px;
}

#bodyTypeOptionsContainer {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}

.intermediate-step img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 15px auto;
    display: block;
}

.intermediate-step .banner_cont {
    border-radius: 0.5rem;
    border: 1px solid #E2E8F0;
    overflow: hidden;
    margin-bottom: 20px;
}

.intermediate-step .banner_cont .banner_head {
    background-color: rgba(16, 96, 4, 255);
    color: white;
    font-family: "Inter", sans-serif;
    font-size: 14px;
    text-align: center;
    padding: 9px 8px;
}

.intermediate-step .banner_cont .banner_dec_2 {
    color: #1A202C;
    font-family: "Inter", sans-serif;
    font-size: 16px;
    text-align: center;
    padding: 12px;
    font-weight: 400;
    line-height: 1.3;
}

.intermediate-step .step_sub_head {
    color: #1A202C;
    font-family: "Inter", sans-serif;
    font-size: 1.1em;
    padding: 10px 0 10px;
    font-weight: 600;
}

.intermediate-step .step_sub_head_2 {
    color: #1A202C;
    font-family: "Inter", sans-serif;
    font-size: 1em;
    padding: 0 0 10px;
    font-weight: 600;
}

.loading-container {
    text-align: center;
}

.loading-container p {
    font-weight: bold;
    font-size: 1.2em;
    margin-bottom: 20px;
}

.step_12 .step_dec {
    padding: 0 0 10px;
    color: #1A202C;
    font-family: "Inter", sans-serif;
    font-size: 16px;
    text-align: center;
}

.step_12 .step_head {
    font-size: 1.5em;
    line-height: 1.3;
    padding-bottom: 20px;
    padding-top: 0;
    font-family: "Inter", sans-serif;
    text-align: center;
    font-weight: 700;
    color: #1f2937;
}

.step_12 .step_head span {
    color: #4aa614;
}

#resultGraph {
    display: block;
}

.weight_summery_box {
    display: flex;
    align-items: center;
    background-color: white;
    border: 1px solid #e0e3eb;
    border-radius: 0.5rem;
    margin-top: 1.25rem;
}

.weight_summery_box .col {
    flex: 1 1 45%;
    box-sizing: border-box;
    padding: 0 5px;
    text-align: center;
}

.arrow-container {
    flex: 0 0 auto;
    padding: 0 5px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.arrow-container img {
    max-height: 40px;
    width: auto;
}

.weight_summery_box .col .col_head {
    font-size: 18px;
    font-family: "Inter", sans-serif;
    padding: 12px 12px 0px 12px;
    font-weight: 600;
    color: #1f2937;
}

/* Geändert: Höhe der Vorher/Nachher Bilder */
.weight_summery_box .col .img {
    height: 150px;
    /* Feste Höhe */
    width: auto;
    /* Automatische Breite */
    /* max-width entfernt */
    object-fit: contain;
    margin: 12px auto;
    display: block;
}

.weight_summery_box .col img.male_pic,
.weight_summery_box .col img.female_pic {
    display: none;
}

.weight_summery_box .col .dec {
    font-size: 16px;
    font-family: "Inter", sans-serif;
    padding: 0px 12px 12px 12px;
    color: #374151;
}

.weight_summery_box .col .dec b {
    font-weight: 700;
    color: #1f2937;
}

.weight_summery_box .col.to .dec b {
    color: #4aa614;
}

.weight_summery_box .col .col_footer {
    padding: 4px 4px 16px 4px;
    background-color: #f6f6f6;
    border-bottom-left-radius: 0.5rem;
    border-bottom-right-radius: 0.5rem;
}

.weight_summery_box .col .col_footer .col_head {
    font-size: 16px;
    padding-top: 8px;
}

.weight_summery_box .col .col_footer .dec {
    padding: 0 4px;
    margin: 0 auto;
    font-size: 14px;
    font-weight: 700;
    width: fit-content;
    margin-top: 8px;
    color: #4A5568;
}

.weight_summery_box .col.to .col_footer .dec {
    color: #22543D;
    background-color: #C6F6D5;
    border-radius: 4px;
    padding: 2px 6px;
}

.logo_dec_cont {
    background-color: #e6e6e6;
    margin-top: 40px;
    border-radius: 0.5rem;
    padding: 1.25rem;
}

.logo_dec_cont .logo_row {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.logo_dec_cont .logo_row .img {
    width: 100%;
    max-width: 21px;
    height: auto;
    flex-shrink: 0;
}

.logo_dec_cont .logo_row .dec {
    font-size: 15px;
    font-family: "Inter", sans-serif;
    padding: 0;
    line-height: 1.5;
    color: #374151;
    text-align: left;
}

.logo_dec_cont .logo_row .dec b {
    color: #1f2937;
}

.step_12 .step_head_2 {
    padding: 40px 0 0 !important;
    font-size: 1.8em !important;
    font-weight: 700;
    color: #1f2937;
}

.price_card {
    background-color: #eaf2e3;
    padding: 20px;
    border-radius: 0.5rem;
    text-align: center;
    margin-top: 20px;
}

.price_card .logo {
    max-width: 153px;
    margin: 0px auto;
    display: block;
}

.price_card .step_head_3 {
    padding-top: 12px !important;
    font-size: 1.4em !important;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 10px;
}

.price_card .img {
    /* Style für das Produktbild selbst */
    max-width: 312px;
    margin: 0 auto;
    /* Zentrierung innerhalb des Links */
    display: block;
}

.price_card .img_link {
    /* Style für den Link um das Bild */
    display: block;
    margin: 12px auto 0;
    text-decoration: none;
}

.price_card .step_head_4 {
    margin-top: 8px;
    font-size: 1.3em !important;
    font-weight: 700;
    color: #1f2937;
    padding: 0 !important;
    margin-bottom: 0;
    line-height: 1.2;
}

.price_card .price-strikethrough {
    text-decoration: line-through;
    color: #6b7280;
    font-size: 1.1em !important;
}

.price_card .price-final {
    color: #16a34a;
    font-size: 1.6em !important;
}

.price_card .dec {
    font-family: "Inter", sans-serif;
    font-size: 16px;
    color: #374151;
}

.price_card .dec_2 {
    font-size: 14px;
}

.price_card .dec_3 {
    margin-bottom: 20px;
    font-weight: 600;
    color: #ef4444;
}

.price_card .submit_btn {
    padding: 18px 12px;
    max-width: 100%;
    margin: 10px auto 0;
    display: block;
    background-color: #eb731a !important;
    border: none;
    color: white;
    font-family: "Inter", sans-serif;
    font-size: 1.2em;
    font-weight: 700;
    border-radius: 8px;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.price_card .submit_btn:hover {
    background-color: #c05a10 !important;
}

.price_card .guarantee-text {
    margin-top: 15px;
    font-size: 0.9em;
    color: #4b5563;
}

.review-section-image {
    display: block;
    margin: 30px auto 20px;
    max-width: 100%;
    height: auto;
}

.review_main {
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 18px;
    width: 100%;
    margin-top: 20px;
}

.review_1 {
    border: 1px solid rgb(226, 232, 240);
    padding: 16px;
    border-radius: 14px;
    background-color: #fff;
    text-align: left;
}

.review_1 .d-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}

.review_1 .stars .fa-star {
    color: rgb(214, 158, 46);
    font-size: 13px;
    margin-right: 2px;
}

.review_1 h3 {
    font-family: "Inter", sans-serif;
    font-size: 16px;
    font-weight: 700;
    padding: 0;
    margin: 0;
    color: #1f2937;
}

.review_1 h4 {
    font-family: "Inter", sans-serif;
    font-size: 13px;
    font-weight: 500;
    margin: 0;
    color: #6b7280;
}

.review_1 .verifed_text {
    font-weight: 600 !important;
    background-color: rgb(198, 246, 213);
    padding: 2px 6px;
    border-radius: 4px;
    color: #22543D;
    font-size: 12px;
    height: fit-content;
}

.review_1 p {
    font-family: "Inter", sans-serif;
    font-size: 15px;
    font-weight: 400;
    padding: 0;
    margin: 0;
    color: #374151;
    line-height: 1.5;
}

.review_1 .border_review {
    border-top: 1px solid rgb(226, 232, 240);
    width: 100%;
    margin: 12px 0px;
}

.final-cta-button {
    padding: 18px 12px;
    max-width: 100%;
    margin: 30px auto 10px;
    display: block;
    background-color: #eb731a !important;
    border: none;
    color: white;
    font-family: "Inter", sans-serif;
    font-size: 1.2em;
    font-weight: 700;
    border-radius: 8px;
    cursor: pointer;
    transition: background-color 0.2s ease;
    text-decoration: none;
    text-align: center;
}

.final-cta-button:hover {
    background-color: #c05a10 !important;
}

@media (max-width: 640px) {
    body {
        margin: 0;
        padding: 10px;
    }

    .quiz-wrapper {
        padding: 0;
        width: 100%;
        margin: 0;
        border-radius: 0;
        box-shadow: none;
        min-height: 100vh;
    }

    #topLogoContainer img {
        max-width: 150px;
    }

    .quiz-step p {
        font-size: 1em;
    }

    .quiz-step p strong,
    .quiz-step .step_head {
        font-size: 1.15em;
    }

    .option-button {
        padding: 15px 20px;
        font-size: 0.95em;
    }

    .horizontal-container .option-button {
        padding: 10px;
        flex-basis: 48%;
    }

    .horizontal-container .option-button .img {
        max-width: 80px;
    }

    .bodytype-option {
        width: calc(50% - 8px);
        min-height: 160px;
    }

    .bodytype-option img {
        height: 80px;
        margin-bottom: 10px;
    }

    .bodytype-option span.head {
        font-size: 16px;
    }

    .step_12 .step_head {
        font-size: 1.3em;
    }

    .weight_summery_box {
        gap: 5px;
    }

    .arrow-container {
        display: flex;
        order: 1;
    }

    .arrow-container img {
        max-height: 30px;
    }

    .weight_summery_box .col {
        flex: 1 1 40%;
        order: 0;
    }

    .weight_summery_box .col.to {
        order: 2;
    }

    .weight_summery_box .col:first-child {
        margin-bottom: 0;
    }

    /* Geändert: Höhe der Vorher/Nachher Bilder Mobil */
    .weight_summery_box .col .img {
        height: 120px;
        /* Kleinere Höhe Mobil */
        /* max-width entfernt */
    }

    .weight_summery_box .col .col_footer .col_head {
        font-size: 14px;
    }

    .weight_summery_box .col .col_footer .dec {
        font-size: 12px;
    }

    .logo_dec_cont .logo_row {
        flex-direction: column;
        text-align: center;
    }

    .logo_dec_cont .logo_row .img {
        margin-bottom: 10px;
    }

    .logo_dec_cont .logo_row .dec {
        text-align: center;
    }

    .step_12 .step_head_2 {
        font-size: 1.5em !important;
    }

    .price_card .step_head_3 {
        font-size: 1.2em !important;
    }

    .price_card .price-final {
        font-size: 1.4em !important;
    }

    .price_card .submit_btn,
    .final-cta-button {
        font-size: 1.1em;
        padding: 15px 12px;
    }

    .review_1 h3 {
        font-size: 15px;
    }

    .review_1 h4 {
        font-size: 12px;
    }

    .review_1 p {
        font-size: 14px;
    }
}

@media (max-width: 400px) {
    .bodytype-option {
        width: 100%;
        min-height: 150px;
    }

    .horizontal-container .option-button {
        flex-basis: 100%;
    }

    .step_12 .step_head {
        font-size: 1.2em;
    }

    /* Geändert: Höhe der Vorher/Nachher Bilder sehr Mobil */
    .weight_summery_box .col .img {
        height: 100px;
        /* Noch kleinere Höhe */
        /* max-width entfernt */
    }

    .weight_summery_box .col .dec {
        font-size: 14px;
    }

    .weight_summery_box .col .col_footer .col_head {
        font-size: 13px;
    }

    .weight_summery_box .col .col_footer .dec {
        font-size: 11px;
    }

    .arrow-container img {
        max-height: 25px;
    }

}