.main-container {
    max-width: 100%;
    width: 100%;
}
.regnav li.active .num {
    background: #d2a65a;
    border-color: #d2a65a;
    color: white;
}
.regnav ul {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    max-width: 100%;
    padding-left: 0px !important;
}
.regnav li {
    width: 33.33%;
    text-align: center;
    list-style: none;
    position: relative;
}
.regnav .num {
    display: block;
    width: 54px;
    height: 54px;
    border: 2px solid #cdcdcd;
    color: #000;
    font-size: 26px;
    line-height: 52px;
    font-weight: 500;
    background: #fff;
    border-radius: 50%;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}
.regnav label {
    display: block;
    font-size: 17px;
    font-weight: 500;
    line-height: 24px;
    padding: 5px 0 0;
}
.regnav li:after {
    content: '';
    position: absolute;
    top: 28px;
    right: -1px;
    width: 51%;
    height: 2px;
    background: #cdcdcd;
}
.regnav li:before {
    content: '';
    position: absolute;
    top: 28px;
    left: -1px;
    width: 51%;
    height: 2px;
    background: #cdcdcd;
}
.regnav li:first-child:before {
    content: none;
}
.regnav li:last-child:after {
    content: none;
}
.step1 {
    width: 100%;
}
.pkglist {
    margin: 20px auto;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    width: 80%;
    max-width: 600px;
    box-sizing: border-box;
}
.pkglist .pwrap {
    width: calc(60.33% - 10px);
    margin: 10px;
    padding-bottom: 30px;
}
.pwrap {
    width: 100%;
    background: #fff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    overflow: hidden;
    position: relative;
    padding-bottom: 40px;
}
.pheader {
    color: #fff;
    text-align: center;
    background: #000;
    padding: 15px 0 !important;
    background-color: #d2a65b;
}
.pheader h2 {
    text-transform: uppercase;
    font-size: 24px;
    line-height: 30px;
    margin: 0;
    font-weight: 600;
    color: #fff;
}
.pheader .duration {
    text-transform: uppercase;
    font-size: 15px;
    line-height: 24px;
    margin: 0;
    font-weight: 600;
    display: block;
}
.pheader .price {
    display: block;
    font-size: 58px;
    line-height: 66px;
    font-weight: 700;
}
.pheader .price b {
    font-weight: 700;
}
.pheader .price sup {
    font-size: 18px;
    line-height: 18px;
    position: relative;
    vertical-align: top;
    top: 10px;
    margin: 0 2px;
}
.pheader .vat {
    text-transform: uppercase;
    font-size: 15px;
    line-height: 22px;
    margin: 0;
    font-weight: 600;
    display: block;
}
.pfoot1 {
    text-align: center;
    padding: 20px 20px 10px;
}
.pfoot1 .btn,
.pfoot1 .btnp {
    display: inline-block;
    min-width: 220px;
    height: 52px;
    border: 2px solid #b6b6b6;
    border-radius: 40px;
    font-size: 18px;
    font-weight: 700;
    text-transform: uppercase;
    line-height: 48px;
    color: #000;
    padding: 0 15px;
}
.pfoot1 a {
    text-decoration: none;
    box-shadow: none;
    cursor: pointer;
}
#btn1:hover {
    background: #d2a65b;
    border-color: #d2a65b;
    color: #fff;
}
.pcontent {
    padding: 15px 20px 0;
}
.pcontent ul {
    padding-left: 0;
}
#pkg1 .pcontent ul li::after,
.pcontent ul li::after {
    color: #d2a65b;
}
.pcontent ul li:after {
    content: '\f00c';
    position: absolute;
    top: 0;
    left: 0;
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    font-size: 16px;
    color: #000;
}
.pcontent ul li {
    font-size: 16px;
    line-height: 24px;
    font-weight: 300;
    padding-left: 30px;
    position: relative;
    margin: 0 0 5px;
    color: #000;
    list-style: none;
}
.pcontent a {
    text-decoration: none;
    box-shadow: none;
    cursor: pointer;
}
@media (max-width: 768px) {
    .regnav ul {
        padding: 0 20px;
    }
    .regnav li {
        width: 33.33%;
        text-align: center;
        position: relative;
        margin-bottom: 10px;
    }
    .pkglist .pwrap {
        width: 80%;
        margin: 10px auto;
    }
    .pcontent ul li {
        font-size: 14px;
        line-height: 22px;
    }
    .pheader h2 {
        font-size: 22px;
    }
    .pheader .price {
        font-size: 48px;
    }
    .pfoot1 .btn,
    .pfoot1 .btnp {
        min-width: 160px;
        height: 44px;
        line-height: 40px;
        font-size: 16px;
    }
}
@media (max-width: 480px) {
    .regnav li {
        width: 33.33%;
        text-align: center;
        position: relative;
        margin-bottom: 10px;
    }
    .regnav label {
        font-size: 14px;
    }
    .pkglist {
        margin-top: 10px;
        flex-direction: column;
        width: 100%;
        box-sizing: border-box;
        margin: 0;
        padding: 0;
    }
    .pkglist .pwrap {
        width: 90%;
        margin: 10px auto;
    }
    .pheader h2 {
        font-size: 20px;
        line-height: 26px;
    }
    .pheader .price {
        font-size: 36px;
        line-height: 40px;
    }
    .pcontent ul li {
        font-size: 14px;
        line-height: 20px;
    }
    .pfoot1 {
        padding: 15px 10px 5px;
    }
    .pfoot1 .btn,
    .pfoot1 .btnp {
        min-width: 140px;
        height: 40px;
        font-size: 14px;
    }
}
.step2 {
    display: none;
    margin: 30px 0 0;
}
.back1 {
    display: inline-block;
    cursor: pointer;
    margin: 0 0 10px;
    font-size: 15px;
    font-weight: 500;
    padding: 10px 18px;
    color: #fff;
    border-radius: 30px;
    background-color: #d2a65a
}
.stepWrap {
    display: flex;
    flex-wrap: wrap;
}
.stepWrap>div {
    margin: 0;
}
.stepWrap>div:first-child {
    margin-right: 10px;
}
.stepWrap>div:last-child {
    margin-left: 10px;
}
.gform_wrapper div.validation_error {
    border: 0 !important;
    color: #D8000C !important;
    background-color: #FFBABA !important;
    font-size: 18px;
    font-weight: normal !important;
    padding: 16px 0;
    text-align: center;
    margin: 30px 0;
    display: none;
}
.gform_legacy_markup_wrapper .gform_validation_errors>h2 {
    color: #790000;
    font-size: 16px;
    font-weight: 700;
    margin: 0;
}
.gform_wrapper .validation_message {
    border: 0 !important;
    color: #D8000C !important;
    background-color: #FFBABA !important;
    font-size: 14px !important;
    padding: 3px 5px !important;
    font-weight: normal !important;
    display: none;
}
.stepWrap .formWrap {
    width: 60%;
    background: #fff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    padding: 20px;
    border-radius: 8px;
}
.gform_wrapper h2.gsection_title {
    font-size: 18px !important;
    line-height: 24px !important;
    font-weight: bold !important;
    color: #000 !important;
    margin: 30px 0px 0px 0px;
}
img.emoji {
    display: inline !important;
    border: none !important;
    box-shadow: none !important;
    height: 1em !important;
    width: 1em !important;
    margin: 0 0.07em !important;
    vertical-align: -0.1em !important;
    background: none !important;
    padding: 0 !important;
}
.styled-form {
    display: flex;
    flex-direction: column;
}
.form-group {
    margin-bottom: 15px;
}
.form-group label {
    font-weight: bold;
    margin-bottom: 5px;
    display: block;
}
.form-group #radio-label {
    margin-bottom: 20px;
}
.required {
    color: red;
}
.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="date"],
.form-group select {
    width: 100%;
    padding: 10px;
    margin-top: 5px;
    margin-bottom: 5px;
    border: none;
    border-bottom: 2px solid #ddd;
    border-radius: 0;
    box-sizing: border-box;
    background-color: transparent;
}
.form-group input[type="text"]:focus,
.form-group input[type="email"]:focus,
.form-group input[type="date"]:focus,
.form-group select:focus {
    outline: none;
    border-bottom: 2px solid #ddd;
}
input,
input::placeholder,
#birthDate {
    font-size: 18px;
    color: #999;
    opacity: 1;
}
.form-group #studio {
    font-size: 18px;
    color: #999;
    opacity: 1;
}
.name-group {
    display: flex;
    gap: 10px;
}
.address-group {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}
.address-group .validation_message {
    grid-column: 1 / -1;
    width: 100%;
    margin-top: 0;
    color: red;
    display: none;
}
.submit-button {
    background-color: #d2a65b;
    color: #ffffff;
    border: none;
    padding: 15px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 16px;
    border-radius: 4px;
    cursor: pointer;
    margin-top: 10px;
}
.submit-button:hover {
    background-color: #d2a65b;
}
.radio-group {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    align-items: center;
    margin-bottom: 10px;
}
.radio-group input[type="radio"] {
    appearance: none;
    width: 20px;
    height: 20px;
    margin-right: 5px;
    border: 2px solid #ddd;
    border-radius: 50%;
    outline: none;
    cursor: pointer;
    transition: background-color 0.3s, border-color 0.3s;
}
.radio-group input[type="radio"]:checked {
    background-color: #d2a65b;
    border-color: #d2a65b;
}
.radio-group input[type="radio"]:checked::before {
    content: '';
    display: block;
    width: 10px;
    height: 10px;
    background-color: white;
    border-radius: 50%;
    margin: 3px auto;
}
.radio-group label {
    font-weight: normal;
    cursor: pointer;
    margin-bottom: 0px !important;
}
.stepWrap .formsidebar {
    width: 30%;
}
.btn-group {
    display: flex;
    align-items: center;
    position: relative;
}
.loading-spinner {
    display: none;
    border: 4px solid rgba(0, 0, 0, 0.1);
    border-radius: 50%;
    border-top: 4px solid grey;
    width: 24px;
    height: 24px;
    animation: spin 3s linear infinite;
    position: absolute;
    right: 50%;
    margin-right: 10px;
}
@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}
@media (max-width: 600px) {
    .stepWrap {
        display: flex;
    }
    .stepWrap .formWrap,
    .stepWrap .formsidebar {
        width: 100%;
        margin: 0px !important;
        padding: 10px;
    }
    .stepWrap .formsidebar {
        order: 1;
        margin-bottom: 0px !important;
    }
    .stepWrap .formWrap {
        order: 2;
        margin-bottom: 0;
    }
    .radio-group {
        flex-direction: row;
        gap: 10px;
    }
    .radio-group input[type="radio"] {
        margin-right: 0;
    }
    .signature-pad {
        height: 150px;
    }
}
.step3 {
    display: none;
    margin: 30px 0 0;
}
.secTitle {
    width: 100%;
    display: inline-block;
    text-align: center;
    padding: 0 0 25px;
}
.secTitle h2 {
    color: #000;
    font-size: 48px;
    font-weight: 700;
    font-style: italic;
    text-transform: uppercase;
}
.secTitle p {
    font-size: 20px;
    line-height: 26px;
    color: #000;
    margin-bottom: 0px;
}
.successmsg {
    display: inline-block;
    text-align: center;
    padding: 20px 60px;
    text-align: center;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.12);
    border-radius: 8px;
}
.sgImg {
    width: 100%;
    display: block;
    height: 210px;
    background: url(https://online-mitgliedschaften.de/wp-content/themes/childtheme/assets/images/sucessImg.jpg) no-repeat;
    background-position: center center;
    background-size: 45%;
}
.successmsg ul {
    display: flex;
    padding: 15px 0 0;
    margin: 0px;
}
.successmsg ul li {
    flex-grow: 1;
    padding: 15px;
    list-style: none;
    width: 33.33%;
}
.successmsg ul li span {
    width: 70px;
    height: 70px;
    display: block;
    margin: 0 auto;
    background: url(https://online-mitgliedschaften.de/wp-content/themes/childtheme/assets/images/cn.png) no-repeat;
    line-height: 70px;
    color: #fd1f2a;
    font-weight: 700;
    background-size: 100%;
    font-size: 30px;
}
.successmsg h4 {
    font-size: 20px;
    line-height: 28px;
    color: #0c0c0c;
    font-weight: 700;
    margin: 10px 0 0;
}
@media (max-width: 768px) {
    .stepWrap {
        display: flex;
    }
    .stepWrap .formWrap,
    .stepWrap .formsidebar {
        width: 100%;
        margin: 0px !important;
        padding: 10px;
    }
    .stepWrap .formsidebar {
        order: 1;
        margin-bottom: 0px !important;
    }
    .stepWrap .formWrap {
        order: 2;
        margin-bottom: 0;
    }
    .secTitle h2 {
        font-size: 25px;
    }
    .successmsg {
        padding: 20px;
    }
    .successmsg ul {
        flex-direction: column;
        align-items: center;
    }
    .successmsg ul li {
        width: 100%;
    }
    .sgImg {
        height: 150px !important;
        background-size: cover !important;
    }
}
.signature-container {
    position: relative;
    border: none !important;
    margin-top: 10px;
}
#signature-pad {
    background: rgba(255, 255, 255, 0.8);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    border: none !important;
}
.clear-icon {
    position: absolute;
    bottom: 20px;
    left: 10px;
    color: #999;
    font-size: 24px;
    cursor: pointer;
    z-index: 10;
}
.input-with-calendar {
    position: relative;
    width: 100%;
}
.input-with-calendar input[type="text"] {
    width: 100%;
    padding: 10px 40px 10px 10px;
    font-size: 16px;
    box-sizing: border-box;
}
.input-with-calendar .calendar-icon {
    position: absolute;
    top: 50%;
    right: 10px;
    width: 24px;
    height: 24px;
    background: url('https://online-mitgliedschaften.de/wp-content/plugins/gravityforms/images/datepicker/datepicker.svg') no-repeat center center;
    background-size: contain;
    cursor: pointer;
    transform: translateY(-50%);
}

/* Global styles for both forms */
.lead-form .form-container {
    display: flex;
    flex-direction: column !important;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 20px 30px;
    color: white;
    box-shadow: rgba(149, 157, 165, 0.2) 0px 8px 24px;
    border-radius: 10px;
    width: 50%;
    margin: auto;
    background-color: #543b3b54;
}
.lead-form .hidden {
    display: none;
}
.lead-form .lead-img {
    margin-bottom: 7px !important;
}
.lead-form #form1 .lead-img {
    margin-bottom: 12px !important;
}
.lead-form .progress-bar {
    position: relative;
    width: 25%;
    height: 12px;
    background-color: #444;
    border-radius: 10px;
    margin: 0 auto;
    overflow: hidden;
    margin-bottom: 15px;
}
.lead-form .progress-fill {
    height: 100%;
    background-color: red;
    transition: width 0.5s;
}
.lead-form .progress-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 9px;
}
.lead-form .welcome-heading {
    text-align: center;
    font-size: 24px;
    color: white;
    margin: 0;
}
.lead-form .button-form {
    display: flex;
    flex-direction: column;
    width: 100%;
}
.lead-form .form-button {
    padding: 15px;
    background-color: rgba(255, 255, 255, 0.1);
    color: white;
    border: none;
    margin: 5px 0;
    cursor: pointer;
    border-radius: 5px;
    font-size: 16px;
    transition: background-color 0.3s;
}
.lead-form .form-button:hover {
    background-color: rgba(255, 255, 255, 0.2);
}
.lead-form .submit-button {
    background-color: #ba8d44;
    font-weight: bold;
}
.lead-form .submit-button:hover {
    background-color: #ba8d44;
}
.lead-form .form-input {
    padding: 10px;
    border: 1px solid transparent; 
    border-radius: 5px; 
    margin: 4px 0;
    background-color: #333; 
    color: white; 
    width: 100%; 
    font-size: 16px; 
    transition: border-color 0.3s; 
}
.lead-form .form-input:hover, 
.lead-form .form-input:focus {
    border-color: red; 
}
.lead-form .form-input::placeholder {
    color: rgba(255, 255, 255, 0.5); 
}
.lead-form .confirmation-message { 
    padding: 20px;
    border-radius: 10px;
    color: white; 
    text-align: center; 
}
.lead-form .tick-icon {
    font-size: 40px; 
    margin-bottom: 10px; 
}
.lead-form {
    margin-bottom: 100px !important;
}
@media (max-width: 768px) {
    .lead-form .form-container {
        width: 100% !important;
    }
    .lead-form {
        margin-top: 180px !important;
        margin-bottom: 200px !important;
    }
}