.error {
    color: red;
    font-size: 0.9rem;
}

.success {
    color: green;
}

.fieldbox[aria-invalid="true"] input,
.fieldbox[aria-invalid="true"] textarea {
    border: 2px solid red;
}

.hide {
    display: none;
}

.hp-field {
    position: absolute;
    left: -9999px;
    top: -9999px;
    height: 0;
    overflow: hidden;
}

.topmenu {
    background: #fff;
    padding: 0;
    width: 100%;
    position: fixed;
    top: 0;
    z-index: 999;
    height: 70px;
}

body {
    padding-top: 80px;
}

#burger-toggle {
    position: fixed;
    z-index: 999;
}

header .menuwrapper {
    width: 100%;
    float: left;
    position: relative;
}


header .menuwrapper .mainmenu {
    position: relative;
    width: 100%;
    text-align: center;
    float: left;
}


/* Menü */

nav {
    display: inline-block;
    position: relative;
    float: none;
    padding: 20px 0 0 0;
}

a.cta {
    background: var(--maincolor);
    padding: 10px 20px 8px;
    border-radius: 10px;
    color: #fff;
    margin-right: 10px;
    margin-top: 25px;
    display: inline-block;
}

a.cta:hover {
    opacity: 1;
    background: var(--greydark);
    color: #fff;
}

.smallwidth {
    width: 75%;
    margin: 0 auto;
}

/* Formular */

.eightmod {
    padding: 50px 0;
}

#kontakt {
    margin: 0 auto;
    width: 75%;
}

#kontakt h2 {
    margin-bottom: 45px;
}

form fieldset {
    display: inline-block;
    width: calc(100% / 1/2);
    float: left;
}

form fieldset:nth-child(1) {
    width: 40%;
}


.wa {
    position: fixed;
    right: 10px;
    bottom: 80px;
    z-index: 4;
    width: 120px;
}

form fieldset.varianten-group {
    margin-left: 25px;
    background: #fff;
    padding: 20px 15px;
    width: calc(60% - 25px);
    border-radius: 10px;
}

form input,
form textarea {
    width: 100%;
    border-radius: 10px;
    background: #fff;
    border: none;
    padding: 15px 20px 15px 20px;
    font-size: 16px;
    font-family: "Rubik";
}

form textarea {
    height: 200px;
}

form .fieldbox {
    display: inline-block;
    margin-bottom: 35px;
    width: 100%;
}

form .fieldfull {
    display: flex;
    margin-top: 0;
    column-gap: 15px;
}


form .datenschutz label {
    display: inline-block;
    width: 100%;
}

form .datenschutz input {
    width: 25px;
    margin-right: 15px;
}

form small {
    display: block;
    width: 100%;
    margin-top: 25px;
}

form button {
    background: #fff;
    border: none;
    padding: 15px 30px;
    text-align: center;
    text-transform: uppercase;
    color: #000;
    border-radius: 10px;
    font-weight: 400;
    font-size: 15px;
}

form button:hover {
    background: var(--maincolor);
    color: #fff;
}


.varianten-group {
    border: none;
    margin-bottom: 2rem;
    padding: 0;
}


.varianten-group legend {
    float: left;
    width: 100%;
    margin-bottom: 25px;
}


.variantwrapper {

    display: flex;
    flex-wrap: wrap;
    width: 100%;
    margin: 15px 0 0px 0;
}



.variant-option {
    display: flex;
    align-items: flex-start;
    margin-bottom: 1.2rem;
    position: relative;
    width: calc(50%);
}

.variant-option input[type="checkbox"] {
    appearance: none;
    -webkit-appearance: none;
    outline: none;
    cursor: pointer;
    width: 25px;
    height: 25px;
    border: 2px dotted var(--maincolor);
    border-radius: 50%;
    margin-right: 1rem;
    position: relative;
    top: 6px;
    padding: 0;
    transition: background-color 0.2s, border-color 0.2s;
}

.variant-option input[type="checkbox"]:checked {
    background-color: var(--maincolor);
    border-color: var(--grey);
}



.variant-option label {
    display: block;
    cursor: pointer;
}

.variant-title {
    font-weight: bold;
    display: block;
}

.variant-desc {
    font-weight: normal;
    font-size: 0.95em;
    color: #000;
}







.komplettsanierung .headerwrapper {
    background-image: url('../images/kompletttop.jpg');
}


.variant-option input[type="checkbox"]:focus+label {
    outline: 2px dashed #005fcc;
    outline-offset: 6px;
    border-radius: 0.5em;
}

#datenschutz-wrapper.error label {
    color: red;
}

#datenschutz-wrapper.error input[type="checkbox"] {
    outline: 2px solid red;
}

#form-feedback {
    color: red;
    margin-top: 25px;
    border: 1px solid red;
    width: 100%;
    padding: 10px 15px;
}

.input-error {
    border: 2px solid red;
}

.walkin.boxleft .contentboxwrapper .textbox h2 span,
.walkin.boxright .contentboxwrapper .textbox h2 span,
.textbox h2 span,
h3.h2-style span {
    font-size: 20px;
    line-height: 25px;
}

h3.h2-style {
    text-align: left;
}

.text-center h3.h2-style {
    text-align: center;
}


.mt-100 {
    marign-top: 100px;
}

.schritte button {
    border: none;
    background: transparent;
}

.schritt:focus-visible {
    outline: 2px solid #0066cc;
    outline-offset: 4px;
}

.schritt {
    all: unset;
    display: block;
    cursor: pointer;
    text-align: center;
    padding: 1rem;
    border-radius: 8px;
    transition: background 0.3s;
}

.mt-50 {
    margin-top: 50px;
}

.dksystem .cta-wrapper {
    width: auto;
    position: relative;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

.dksystem .cta-wrapper a.cta {
    text-decoration: none;
    position: relative;
    font-weight: 400;
    text-transform: uppercase;
    width: calc(100% / 1/3 - 30px);
    padding: 10px 40px;
    font-size: 14px;
    line-height: 18px;
    margin-top: 20px;
    border-radius: 0px;
    letter-spacing: .8px;
    transition: all .2s ease-in-out;
    -webkit-transition: all .2s ease-in-out;
    -moz-transition: all .2s ease-in-out;
    -o-transition: all .2s ease-in-out;
    margin-right: 30px;
    background: #c28562;
    color: #fff;
    border: 1px solid #fff;
    float: none;
}



.vorteileicons .contentboxwrapper .vorteilbox strong.norm {
    font-size: 15px;
    line-height: 26px;
}

.vorteileicons .contentboxwrapper .vorteilbox:last-child {

    padding-left: 0;
}

.schritt:last-of-type::after {
    display: none !important;
    content: none;
}

.varianten .contentboxwrapper .variantenbox .imageboxdesc .title {
    height: 140px;
}

.start .h1-style {
    text-align: center;
    color: var(--maincolor);
    font-family: 'GothamNarrowBold';
    font-size: 90px;
    line-height: 110px;
    letter-spacing: .7px;
}

.start .h1-style span::before {
    content: "";
    position: absolute;
    top: -20px;
    height: 5px;
    width: 100%;
    left: 0;
    background: var(--maincolor);
}

.start .h1-style span {
    position: relative;
}



.form-section {
    background-color: #f3efed;
    padding: 50px 0;
}


@media screen and (max-width: 1080px) {
    #kontakt {
        width: 100%;
    }

    .vorteileicons .wrapper.content-width .contentboxwrapper {
        width: 100%;
    }

}


@media screen and (max-width: 991px) {
    .vorteileicons .wrapper.content-width .contentboxwrapper .vorteilbox {
        width: calc(100% / 1/2 - 30px);
        margin-bottom: 30px;
        margin-left: 15px;
        margin-right: 15px;
    }

    .vorteileicons .wrapper.content-width .contentboxwrapper {
        flex-direction: row;
    }


}

@media screen and (max-width: 892px) {

    #kontakt h2 {
        margin-left: 35px;
    }

    form .fieldfull {
        display: flex;
        margin-top: 0;
        column-gap: 0;
        flex-direction: column;
    }

    .variant-option {
        width: 100%;
    }

    .walkin.boxright .contentboxwrapper .textbox h2 span {
        font-size: 20px;
        line-height: 30px;
    }

    .duschking .contentboxwrapper .textbox:first-child {
        height: auto;
    }



    .vorteileicons .wrapper.content-width .contentboxwrapper .vorteilbox {
        width: calc(100% / 1/2 - 15px);
        margin-bottom: 30px;
    }


}


@media screen and (max-width: 692px) {
    form fieldset:nth-child(1) {
        width: 100%;
    }

    form fieldset.varianten-group {
        margin-left: 0;
        background: #fff;
        padding: 20px 15px;
        width: 100%;
        border-radius: 10px;
    }

    .ihrweg .contentbox {
        margin-bottom: 0;
        padding-bottom: 0;
    }

    .ihrweg .contentbox .schritte .schritt .description {
        height: auto;
    }


    .badsanierung.centric {
        margin-top: 0;
    }

    .badge {
        top: 65%;
        transform: scale(.7) rotate(15deg);
    }

    .badteilsanierung .contentbox h2,
    .badteilsanierung .contentbox h2 span {
        font-size: 20px;
        line-height: 30px;
        letter-spacing: 1px;
    }


    .fullimage.wi::before {
        content: "";
        background-image: url('../images/duschking-icon.svg');
        background-repeat: no-repeat;
        background-size: contain;
        width: 90px;
        height: 150px;
        position: absolute;
        top: -70px;
        left: 50%;
        margin-left: -45px;
        z-index: 3;
    }

}


@media screen and (max-width: 492px) {
    #kontakt {
        margin: 0 auto;
        width: 90%;
    }

    .badge {
        top: 65%;
        right: 0;
        transform: scale(.5) rotate(15deg);
    }
}