#dot-grid-bg {
    position: absolute;
    top: 10vw;
    bottom: 10vw;
    left: 10vw;
    right: 10vw;
    --cols: calc(round(6 + 15 * ((100vw - 500px) / 1180)));
    /* bei 500px sind es 6 Spalten, bei 1680px sind es 21 Spalten */
    background-image: url('/images/dot.svg');
    background-repeat: repeat;
    pointer-events: none;
    z-index: -9999 !important;
}

#content {
    margin: 150px 200px 0 200px;
    /* top, right, bottom, left */
}

#headline {
    font-family: 'Doto_Rounded-Black', system-ui, Arial, sans-serif;
    font-size: 64px;
    max-width: 580px;
    margin-top: 100px;
    margin-bottom: 30px;
    line-height: 64px;
}

/* Orange highlight for headline parts */
.highlight {
    color: #FF4000;
}

.input-group {
    margin-top: 10px;
    max-width: 350px;
}

.input-class {
    background: #ff4400;
    border: none;
    border-radius: 25px;
    padding-left: 20px;
    /* Abstand der Schrift innen zum linken Rand */
    padding-top: 10px;
    /* Abstand der Schrift innen zum oberen Rand */
    padding-right: 20px;
    /* Abstand der Schrift innen zum rechten Rand */
    font-size: 15px;
    font-family: 'NeueHaas-Medium', Arial, sans-serif;
    color: #ffffff;
    /* Textfarbe wenn ins Feld eingegeben */
    width: 100%;
    box-sizing: border-box;
    transition: border-color 0.2s;
    height: 50px;
}

.input-group label {
    position: absolute;
    left: 20px;
    top: 25px;
    /* Startet 25px von oben */
    transform: translateY(-50%);
    font-size: 15px;
    color: #ffffff;
    font-family: 'NeueHaas-Medium', Arial, sans-serif;
    pointer-events: none;
    transition: top 0.18s cubic-bezier(0.4, 0, 0.2, 1), font-size 0.18s cubic-bezier(0.4, 0, 0.2, 1), color 0.18s cubic-bezier(0.4, 0, 0.2, 1), text-align 0.18s cubic-bezier(0.4, 0, 0.2, 1);
    width: 100%;
    text-align: left;
}

.input-group input:focus+label,
.input-group input:not(:placeholder-shown)+label,
.input-group textarea:focus+label,
.input-group textarea:not(:placeholder-shown)+label {
    top: 7px;
    font-size: 12px;
    font-family: 'NeueHaas-Medium', Arial, sans-serif;
    color: #FFCFBF;
    text-align: left;
    transform: none;
}

/* Country selector label styling */
#inquiry-label {
    position: absolute;
    left: 20px;
    top: 15px;
    font-size: 12px;
    color: #FFCFBF;
    font-family: 'NeueHaas-Medium', Arial, sans-serif;
    pointer-events: none;
    text-align: left;
}

.inquiry-arrow {
    position: absolute;
    right: 25px;
    top: 10px;
    transform: translateY(-50%);
    height: 18px;
    pointer-events: none;
    rotate: -225deg;
    filter: brightness(0) invert(1);
    /* von orange zu weiß ändern */
}

#inquiry {
    border-radius: 25px !important;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    overflow: hidden;
    cursor: pointer;
}

.message {
    min-height: 300px;
    min-width: 100%;
    padding-top: 21px;
    padding-bottom: 55px;
    /* resize: none; /* Disable manual resizing */
}

.send-btn {
    position: absolute;
    right: 8px;
    bottom: 8px;
    height: 42px;
    width: 105px;
    background: #fff;
    color: #ff4400;
    border: none;
    border-radius: 21px;
    display: flex;
    align-items: center;
    font-family: 'NeueHaas-Medium', Arial, sans-serif;
    font-size: 15px;
    cursor: pointer;
    gap: 8px;
    z-index: 2;
    transition: background 0.2s, color 0.2s;
}

.send-btn:hover {
    background: #ffffffdc;
}

.send-btn.inactive,
.send-btn.inactive:hover {
    background: #fff !important;
    cursor: default !important;
}

.send-btn .send-arrow {
    height: 18px;
    width: auto;
    filter: none;
    margin-left: 4px;
    /* Make arrow #ff4400 */
    filter: invert(36%) sepia(99%) saturate(7492%) hue-rotate(1deg) brightness(104%) contrast(104%);
    rotate: 45deg;
}

.checkmark {
    height: 18px;
    width: auto;
}

#submit-text {
    margin-left: 13px;
    margin-right: 4px;
}

.hidden_important {
    display: none !important;
}

/* Prefer text styling */
#prefer-text {
    color: #B4B4B4;
    font-size: 20px;
    font-family: 'NeueHaas-Medium', Arial, sans-serif;
    margin-top: 80px;
    margin-bottom: 0;
    max-width: 350px;
}

#prefer-email {
    color: #000000;
    text-decoration: none;
    font-family: 'NeueHaas-Medium', Arial, sans-serif;
    font-size: 20px;
}

#prefer-email:hover {
    color: #585858;
}


@media (max-width: 800px) {
    #headline {
        font-size: 55px;
        line-height: 55px;
    }
}

@media (max-width: 750px) {
    #content {
        margin: 150px auto 0 auto;
        /* top, right, bottom, left */
        width: min(90vw, 350px);
        /* Center works only if width < container width */

    }
}

@media (max-width: 600px) {
    #headline {
        font-size: 9vw;
        line-height: 9vw;
    }

    #prefer-text, #prefer-email {
        font-size: clamp(14px, 3vw, 24px);
        line-height: clamp(14px, 3.6vw, 24px);
    }
}