#container {
    display: flex;
    width: 100%;
}

/* .row-single-chbx{
    display: inline-flex !important;
    text-align: left !important; 
    justify-content: flex-start !important;
    align-items: center !important;  
} */

.tableChbx {
    /* margin: 1rem auto;        */
    width: 90%;              
    max-width: 800px;        
  }

  .tableChbx table {
    font-size: 12px;
    font-family: Arial, sans-serif;
    width: 100%;
    border-collapse: collapse;
  }

  .tableChbx th,
  .tableChbx td {
    font-weight: normal;
    border: 1px solid #080808;
    padding: 0.1rem 0.15rem;
    color: #002B5C;
    /* background-color: #333; */
    text-align: center;
  }

  .tableChbx th {
    /* font-weight: bold; */
  }

.row-single-chbx {
    display: inline-flex !important;
    align-items: center !important;
    gap: 0.5rem;
    white-space: nowrap;
    margin-bottom: -10px;
}


/* --------------------------------------- */

.checkbox-container {
    max-width: 700px;
    margin-top: 2px;
    margin-bottom: 0px;
    padding-bottom: 0px;
    /* margin: 1rem auto;
    padding: 1rem; */
    /* background-color: #f8f8f8; */
    /* border: 1px solid #ccc; */
    /* width: auto !important; */
  }

  .checkbox-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 1rem;
  }

  .checkbox-item input[type="checkbox"] {
    margin-right: 0.5rem;
    margin-top: 0.2rem;
  }

  .checkbox-item label {
    line-height: 1.4;     
  }

/* --------------------------------------- */

#raddress-div {
    padding-left: 0px !important;
    padding-right: 0px !important;
    padding-top: 0px !important;
    width: 100%;
    /* display: flex; */
    flex-wrap: wrap;
    gap: 20px;
    display: none;
    padding: 1rem;
}

#part1,
#part2 {
    width: 50%;
    padding: 10px;
    box-sizing: border-box;
}

#part1 {
    padding-right: 20px;
}

#part2 {
    padding-left: 20px;
}

form {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.divform {
    display: flex;
    flex-wrap: wrap;
    gap: 18px;
}

label {
    font-family: Arial, sans-serif;
    color: #002B5C;
    display: block;
    margin-bottom: 1px;
    margin-left: 1px;
    /* font-weight: bold; */
    font-size: 12px;
}

input:not([type="checkbox"]),
select,
textarea {
    color: #002B5C;
    border: 1px solid #007BFF;
    border-radius: 4px;
    padding: 5px;
    /* padding-top: 8px; */
    padding-bottom: 8px;
    font-size: 0.75em;
    box-sizing: border-box;
    width: 100%;
}


.cptBtn {
    margin-top: 10px;
    margin-bottom: 10px;
    padding: 5px 10px;
    background-color: #007BFF;
    opacity: 0.7;
    color: #fff;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}


option {
    color: #002B5C;
}

option:checked {
    color: #002B5C;
}

textarea {
    /* resize: none; */
    /* height: 60px; */
}

h1,
h2 {
    font-family: Arial, sans-serif;
    color: #002B5C;
}

h1 {
    font-size: 1.7em;
    margin-bottom: 10px;
}

h2 {
    font-size: 1.2em;
    margin-bottom: 10px;
}

p {
    font-family: Arial, sans-serif;
    font-size: 0.8em;
    color: #333;
    margin-bottom: 5px;
}

.row-salutation {
    width: 100%;
}

.row-name {
    display: flex;
    gap: 2%;
    width: 100%;
}

.row-name>div {
    flex: 1;
}

.row-address {
    display: flex;
    gap: 2%;
    width: 100%;
}

.row-address>div:first-child {
    flex: 4;
}

.row-address>div:last-child {
    flex: 1;
}

.row-postal-city {
    display: flex;
    gap: 2%;
    width: 100%;
}

.row-postal-city>div:first-child {
    flex: 1;
}

.row-postal-city>div:last-child {
    flex: 2;
}

.row-contact {
    display: flex;
    gap: 2%;
    width: 100%;
}

.row-contact>div {
    flex: 1;
}

.row-single {
    width: 100%;
}

.row-full {
    width: 100%;
}


.row {
    display: flex;
    gap: 10px;
    width: 100%;
}

.row>div {
    flex: 1;
}

#salutation {
    max-width: 150px;
}

#mobile-phone {
    max-width: 50%;
}

#infoStern {
    margin-top: -15px;
}

#infoStern span {
    color: #8b8b8b;
}

.inline-labels label {
    border-color: transparent;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.inline-labels label input {
    margin: 0;
}

fieldset {
    border: none;
}

.row2 {
    display: flex;
    gap: 2%;
    justify-content: space-between;
    width: 100%;
}

.row2>fieldset {
    width: 48%;
}

legend {
    color: #02438d;
    font-weight: bold;
    font-size: 1.2em;
}

p {
    font-family: Arial, sans-serif;
    color: #02438d;
}

.pH {
    font-size: 12px;
    /* font-weight: bold; */
}

#privacy-info {
    margin-top: -20px;
    font-size: 12px;
    line-height: 1.2;
}

button {
    background-color: #007BFF;
    color: white;
    border: none;
    border-radius: 5px;
    padding: 10px 20px;
    font-size: 1em;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

button:hover {
    background-color: #0056b3;
}

button:active {
    transform: scale(0.98);
}

button:disabled {
    background-color: #cccccc;
    cursor: not-allowed;
}

#progress-bar {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    padding-left: -20px !important;
}


/* Anpassung für Laptops mit kleinerem Bildschirm */
@media screen and (max-width: 1024px) {
    #container {
        display: flex;
        flex-direction: column;
    }

    #part1,
    #part2 {
        width: 100%;
        padding: 10px;
    }
}

@media screen and (max-width: 768px) {
    #container {
        display: flex;
        flex-direction: column;
    }

    #part1,
    #part2 {
        width: 100%;
        padding: 5px;
    }
}

@media screen and (max-width: 480px) {
    #form-title {
        font-size: 20px;
    }

    #container {
        display: flex;
        flex-direction: column;
    }

    #part1,
    #part2 {
        width: 100%;
        padding: 5px;
    }

    form {
        gap: 10px;
    }

    .divform {
        gap: 10px;
    }
}