@font-face {
    font-family: 'KalkhoffTTNormsPro';
    src: url('https://27068179.fs1.hubspotusercontent-eu1.net/hubfs/27068179/Kalkhoff%20TT%20Norms%20Pro%20Bold.ttf') format('truetype');
    font-weight: 700;
    font-style: normal;
}

@font-face {
    font-family: 'KalkhoffTTNormsPro';
    src: url('https://27068179.fs1.hubspotusercontent-eu1.net/hubfs/27068179/Kalkhoff%20TT%20Norms%20Pro%20Regular.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}


/* Chrome, Safari, Edge, Opera */
input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

/* Firefox */
input[type=number] {
    -moz-appearance: textfield;
}

.hs-form legend, .hs-form p{
    font-family: 'KalkhoffTTNormsPro', Arial, sans-serif;
}

.hs-form h1{
    font-family: 'KalkhoffTTNormsPro', Arial, sans-serif;
    line-height: 1;
    margin: 0;
    letter-spacing: -0.4px;
    padding: 0;
    font-size: 32px;
    font-weight: 700;
    letter-spacing: .06em;
}

.hs-form h2 {
    margin-top: 25px;
}

.hs-form{
    padding: 0 8.33333333vw;
}

.hs-form label, .hs-form h1 > span {
    font-family: 'KalkhoffTTNormsPro', Arial, sans-serif !important;
}

.hs-form label > span > p {
    font-size: 1.1rem;
}

.hs-form label > span {
    line-height: normal;
    font-size: 1.1rem;
}

.hs-form h1 {
    font-family: 'KalkhoffTTNormsPro', Arial, sans-serif;
    line-height: 1;
    margin: 0;
    letter-spacing: -0.4px;
    padding: 0;
    font-size: 24px;
    font-weight: 600;
    padding-top: 60px;
    padding-bottom: 20px;
}

.hs-form select {
    -webkit-appearance: none;
    background-image: -webkit-gradient(linear, left top, right bottom, color-stop(50%, rgba(16, 16, 16, 0.5)), color-stop(50%, transparent)), -webkit-gradient(linear, right top, left bottom, color-stop(50%, rgba(16, 16, 16, 0.5)), color-stop(50%, transparent));
    background-image: linear-gradient(to right bottom, rgba(16, 16, 16, 0.5) 50%, transparent 50%), linear-gradient(to left bottom, rgba(16, 16, 16, 0.5) 50%, transparent 50%);
    background-size: .3rem .3rem, .3rem .3rem;
    background-repeat: no-repeat;
    background-position: top 50% right 1rem, top 50% right calc(1.3rem - 1px);
}

.hs-custom-style>div input:not([type=image]):not([type=submit]):not([type=button]):not([type=radio]):not([type=checkbox]):not([type=file]), .hs-custom-style fieldset input:not([type=image]):not([type=submit]):not([type=button]):not([type=radio]):not([type=checkbox]):not([type=file]),
.hs-form input[type="color"],.hs-form input[type="password"],.hs-form select,.hs-form input[type="date"],.hs-form input[type="datetime-local"],.hs-form input[type="email"],.hs-form input[type="file"],.hs-form input[type="image"],.hs-form input[type="month"],.hs-form input[type="number"],.hs-form input[type="search"],.hs-form input[type="tel"],.hs-form input[type="text"],.hs-form input[type="time"],.hs-form input[type="url"],.hs-form input[type="week"],.hs-form textarea {
    font-family: 'KalkhoffTTNormsPro', Arial, sans-serif;
    border: 2px solid #949494;
    line-height: 1.5rem;
    font-size: 1rem;
    border-radius: 0;
    padding: 1rem 1.25rem;
    font-weight: 500;
    width: 100%;
    caret-color: rgba(16, 16, 16, 0.5);
    -webkit-box-sizing: content-box; /* Safari/Chrome, other WebKit */
    -moz-box-sizing: content-box;    /* Firefox, other Gecko */
    box-sizing: content-box;         /* Opera/IE 8+ */
}

.hs-form input[type="submit"]{
    background: #d1d6ce;
    border: 0;
    border-radius: 999px !important;
    box-shadow: 0 0 0 0 #1a1b1a inset;
    color: #101010;
    cursor: pointer;
    display: inline-block;
    font-size: 1rem;
    font-weight: 400;
    margin-top: 3.0vw;
    height: auto;
    line-height: 1;
    padding: 1.125rem 1.5rem;
    transition: box-shadow .2s, color .2s .1s, -webkit-box-shadow .2s;
    width: auto;
}

.hs-form-field {
    display: grid;
    grid-template-areas: "label input" ". legend" ". error";
    grid-template-columns: min-content;
    margin-top: 10px;
}

.hs-form-field > label {
    color: inherit;
    flex-shrink: 0;
    font-size: 1.1rem;
    font-weight: 500;
    letter-spacing: 0.25px;
    line-height: 1.5rem;
    margin: 0;
    padding: 1rem 1rem 20px 0;
    text-align: left;
    width: 18.75vw;
    grid-area: label;
}


.hs-form-field > legend {
    grid-area: legend;
    padding-bottom: 0.7rem;
    padding-top: 0.4rem;
}

.input{
    width: 100%;
    grid-area: input;
    max-width: 70vw;
}

.hs-error-msgs, .error-message {
    grid-area: error;
    color: red;
    font-size: 1rem !important;
    padding-left: 0;
}

.custom-error {
    list-style-type: none;
    padding-left: 0;
}

.hs-error-msgs > li > label {
    font-size: 1rem !important;
    line-height: 1em;
}

/* date picker styling */
.pika-lendar {
    font-family: 'KalkhoffTTNormsPro', Arial, sans-serif;
}

.pika-table > tbody > tr > td > button.pika-button:hover {
    background: #d1d6ce !important;
    color: black !important;
}

.fn-date-picker .is-selected .pika-button {
    background-color: #d1d6ce !important;
    color: black !important;
}

.fn-date-picker .is-today .pika-button {
    color: black !important;
    font-weight: bold !important;
}

.legal-consent-container > div > p {
    margin-top: 1rem;
    font-size: 1rem;
}

.hs-form-radio input[type=radio], .hs-form-booleancheckbox input[type=checkbox]{
    margin-top: 5.5px;
    webkit-appearance: auto;
    appearance: auto;
    transform: scale(1.2);
}

.hs-form-radio input[type=radio] {
    margin-right: 10px;
}

.hs-form-booleancheckbox {
    padding-bottom: 0.7rem;;
}

.legal-consent-container{
    padding-top: 1rem;
}

.hs-richtext.hs-main-font-element:has(img) {
    display: grid;
    grid-template-areas:
        "label image"
        ". legend"
        ". error";
    grid-template-columns: 18.75vw auto;
}

.hs-richtext.hs-main-font-element img {
    grid-area: image;
    max-width: 100%;
    height: auto;
}

/* PHONE NUMBER */
.hs_phone.hs-phone.hs-fieldtype-phonenumber.field.hs-form-field
.hs-input.hs-fieldtype-intl-phone {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 5px;
}

/* Select (prefix) */
.hs_phone.hs-phone.hs-fieldtype-phonenumber.field.hs-form-field select {
    width: 90% !important;
}

/* Input (number) */
.hs_phone.hs-phone.hs-fieldtype-phonenumber.field.hs-form-field input {
    width: 100% !important;
}

@media (max-device-width: 480px) and (min-device-width: 320px), (max-width: 400px) {
    .hs-form .hs-phone > .input > .hs-fieldtype-intl-phone.hs-input {
        grid-template-columns: auto !important;
    }

    .hs-form .hs-phone > .input > .hs-fieldtype-intl-phone.hs-input > select.hs-input {
        width: 100% !important;
    }

    .hs-form .hs-phone > .input > .hs-fieldtype-intl-phone.hs-input > input.hs-input {
        width: 100% !important;
    }
}



/* Mobile - no margin */
img[alt="KH_Typenschild_neu"] {
    margin-left: 0;
}

@media screen and (max-width: 768px) {
    div .hs-form-field {
        grid-template-areas: "label" "input" "legend" "error";
        grid-template-columns: 1fr;
    }

    .hs-form-field > label {
        min-width: max-content;
    }

    .hs-richtext.hs-main-font-element:has(img) {
        grid-template-columns: 0vw auto;
    }
}

/* Tablet: between 769px and 1199px */
@media screen and (min-width: 769px) and (max-width: 1199px) {
    img[alt="KH_Typenschild_neu"] {
        margin-left: calc(18vw + 9px);
    }
}

/* Desktop: more than 1200px */
@media screen and (min-width: 1200px) {
    img[alt="KH_Typenschild_neu"] {
        margin-left: calc(18vw + 11px);
    }
}