.pos-order-form.is-enhanced[data-current-step="1"] [data-step="2"],
.pos-order-form.is-enhanced[data-current-step="2"] [data-step="1"] {
    display: none;
}

/* Vorläufig deaktiviertes Container-Styling.*/
.pos-order-form {
    background-color: var(--e-global-color-astglobalcolor8, #fff);
    border-radius: 20px;
    box-shadow: 0 3px 40px rgba(0, 0, 0, .4);
    display: flex;
    flex-direction: column;
    position: relative;
    padding: 40px;
}

.pos-form-heading {
    max-width: 760px;
    margin-bottom: 48px;
}

.pos-form-eyebrow{
    background: var(--e-global-color-astglobalcolor1) !important;
    border-radius: 3px;
    padding: 5px 12px;
    font-weight: 700;
    color: #ffffff;
    width: fit-content;
}

.pos-form-step h2 {
    scroll-margin-top: 300px;
    margin-bottom: 12px;
}

.pos-form-progress {
    display: flex;
    gap: 2rem;
    list-style: none;
    margin: 0 0 2rem;
    padding: 0;
}

.pos-form-progress li,
.pos-form-progress span,
.pos-quantity,
.pos-form-privacy,
.pos-form-actions {
    align-items: center;
    display: flex;
}

.pos-form-progress li {
    gap: .5rem;
}

.pos-form-progress span {
    border: 2px solid var(--e-global-color-astglobalcolor2, #69727d);
    border-radius: 50%;
    box-sizing: border-box;
    font-weight: 700;
    height: 2.5rem;
    justify-content: center;
    width: 2.5rem;
}

.pos-form-progress li.is-active {
    font-weight: 700;
}

.pos-form-progress li.is-active span {
    background-color: var(--e-global-color-astglobalcolor2, #69727d);
    color: var(--e-global-color-astglobalcolor5, #fff);
}

.pos-material-group {
    margin-top: 2rem;
}

.pos-material-group h3{
   font-size: 30px;
}

.pos-material-grid {
    display: grid;
    gap: 1.5rem;
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.pos-material-card {
    min-width: 0;
    margin-bottom: 24px;
}

.pos-material-card h4{
    min-height: 55px;
    margin-bottom: 5px;
}
@media only screen and (max-width: 767px){
    min-height: 45px;
}

.pos-material-image {
    align-items: center;
    aspect-ratio: 16 / 11;
    display: flex;
    justify-content: center;
    overflow: hidden;
    margin-bottom: 16px;
}

.pos-material-image img {
    height: 100%;
    object-fit: cover;
    width: 100%;
}

.pos-quantity {
    gap: 0;
}

.pos-quantity button {
    align-items: center;
    background-color: var(--e-global-color-astglobalcolor5, #fff);
    border: 2px solid var(--e-global-color-astglobalcolor2, #69727d);
    box-sizing: border-box;
    color: var(--e-global-color-astglobalcolor0, #1f2124);
    cursor: pointer;
    display: inline-flex;
    font-size: 18px;
    height: 40px;
    justify-content: center;
    line-height: 1;
    padding: 0;
    width: 40px;
}

.pos-quantity button:first-child {
    border-radius: 4px 0 0 4px;
}

.pos-quantity button:last-child {
    border-radius: 0 4px 4px 0;
}

.pos-quantity input {
    appearance: textfield;
    background-color: var(--e-global-color-astglobalcolor5, #fff);
    border-color: var(--e-global-color-astglobalcolor2, #69727d);
    border-style: solid;
    border-width: 2px 0;
    border-radius: 0;
    box-sizing: border-box;
    color: var(--e-global-color-astglobalcolor0, #1f2124);
    font-size: 16px;
    height: 40px;
    margin: 0;
    padding: 0 .25rem;
    text-align: center;
    width: 56px;
}

.pos-quantity input::-webkit-inner-spin-button,
.pos-quantity input::-webkit-outer-spin-button {
    appearance: none;
}

.pos-form-fields {
    display: grid;
    gap: 1.5rem 1rem;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    margin-top: 2rem;
}

.pos-form-fields label {
    grid-column: span 2;
}

.pos-form-fields > label {
    cursor: pointer;
    font-weight: 700;
}

.pos-form-fields .pos-field--wide {
    grid-column: span 4;
}

.pos-form-fields .pos-field--full {
    grid-column: 1 / -1;
}

.pos-form-fields :is(input, textarea) {
    background-color: var(--e-global-color-astglobalcolor5, transparent);
    border: 2px solid var(--e-global-color-astglobalcolor2, #69727d);
    border-radius: 4px;
    box-sizing: border-box;
    color: var(--e-global-color-astglobalcolor0, #1f2124);
    display: block;
    font-size: 16px;
    font-weight: 400;
    margin-top: 10px;
    min-height: 59px;
    padding: 7px 20px;
    width: 100%;
}

.pos-form-fieldset {
    border: 0;
    margin: 2rem 0 0;
    padding: 0;
}

.pos-form-fieldset--radio label {
    cursor: pointer;
    display: inline-flex;
    gap: .375rem;
    margin: .75rem 1rem 0 0;
}

.pos-form-privacy {
    align-items: flex-start;
    cursor: pointer;
    gap: .5rem;
    margin-top: 1.5rem;
    align-items: center !important;
  
}

.pos-form-actions {
    justify-content: space-between;
    margin-top: 2rem;
}

.pos-form-actions--end {
    justify-content: flex-end;
}

.pos-form-notice,
.pos-form-selection-error {
    margin-bottom: 1.5rem;
}

.pos-form-notice--success {
    background-color: #d8f3df;
    border: 2px solid #16833c;
    border-radius: 4px;
    color: #075c27;
    font-size: 18px;
    padding: 20px;
}

.pos-form-honeypot {
    height: 1px;
    left: -10000px;
    overflow: hidden;
    position: absolute;
    width: 1px;
}

@media (max-width: 900px) {
    .pos-material-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

/* Vorläufig deaktivierte Container-Breite.
@media (min-width: 768px) {
    .pos-order-form {
        margin-inline: auto;
        width: 70%;
    }
}
*/

@media (max-width: 680px) {
    .pos-form-progress,
    .pos-form-actions {
        align-items: stretch;
        flex-direction: column;
        gap: .75rem;
    }

    .pos-form-fields,
    .pos-material-grid {
        grid-template-columns: 1fr;
    }

    .pos-form-fields :is(label, .pos-field--wide, .pos-field--full) {
        grid-column: 1;
    }
}
