/*==========Kontakt Hero==========*/
.kontakt-hero{
    width: 100%;
    min-height: 811px;
    position: relative;
    background: #000506;
    padding-top: 100px;
    padding-bottom: 50px;
    overflow-x: clip;
    overflow-y: visible;
}
.kontakt-hero::before{
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background: radial-gradient(ellipse 1200px 600px at center 40%, #47CCF53A, transparent 80%);
    z-index: 2;
    pointer-events: none;
}
.kontakt-hero #heroStars{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
}
.kontakt-sec{
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-start;
    padding: 100px 0 4px;
    gap: 80px;
    position: relative;
    z-index: 3;
}

/*==========Left Column==========*/
.kontakt-left{
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 24px;
    flex: 1;
    max-width: 608px;
}
.kontakt-heading{
    font-family: 'Inter', sans-serif;
    font-weight: 700;
    font-size: 44px;
    line-height: 120%;
    letter-spacing: -0.03em;
    margin: 0;
    background: linear-gradient(90deg, rgba(255,255,255,0.4) 5.71%, #FFFFFF 34%, #FFFFFF 67%, rgba(255,255,255,0.4) 93.88%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}
@media (max-width: 1000px){
    .kontakt-heading{ text-align: center; }
}
.kontakt-desc{
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    font-size: 18px;
    line-height: 160%;
    letter-spacing: -0.0125em;
    color: rgba(255,255,255,0.7);
    margin: 0;
    max-width: 547px;
}
.kontakt-hero-text-weight{
    font-weight: 700;
}
/*==========Checklist==========*/
.kontakt-checks{
    list-style: none;
    padding: 0;
    margin: 24px 0 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.kontakt-check-item{
    display: flex;
    align-items: center;
    gap: 8px;
}
.kontakt-check-item svg{
    flex-shrink: 0;
}
.kontakt-check-item span{
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    font-size: 18px;
    line-height: 160%;
    letter-spacing: -0.0125em;
    color: rgba(255,255,255,0.7);
}

/*==========Honeypot (Spam-Schutz, für Menschen unsichtbar)==========*/
.kontakt-hp{
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
    opacity: 0;
    pointer-events: none;
}

/*==========Form Card==========*/
.kontakt-form-wrap{
    position: relative;
    width: 608px;
    flex-shrink: 0;
}
.kontakt-form-glow{
    position: absolute;
    width: 2200px;
    height: 1980px;
    left: 50%;
    bottom: 0;
    transform: translate(-50%, 33%);
    background-image: url('../img/kontakt/glow-form.png');
    background-size: 100% 100%;
    background-position: center;
    background-repeat: no-repeat;
    pointer-events: none;
    z-index: 0;
}
.kontakt-form-card{
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 32px;
    gap: 24px;
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.16);
    border-radius: 24px;
    z-index: 1;
}
.kontakt-form-title{
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    font-size: 28px;
    line-height: 130%;
    letter-spacing: -0.03em;
    color: #FFFFFF;
    margin: 0;
}

/*==========Form==========*/
.kontakt-form{
    display: flex;
    flex-direction: column;
    gap: 16px;
    width: 100%;
}
.kontakt-form input[type="text"],
.kontakt-form input[type="email"],
.kontakt-form input[type="tel"]{
    box-sizing: border-box;
    width: 100%;
    height: 58px;
    padding: 16px 12px;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 8px;
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    font-size: 16px;
    line-height: 160%;
    letter-spacing: -0.01em;
    color: #FFFFFF;
    outline: none;
}
.kontakt-form input::placeholder,
.kontakt-form textarea::placeholder{
    color: rgba(255,255,255,0.7);
}
.kontakt-form textarea{
    box-sizing: border-box;
    width: 100%;
    height: 100px;
    padding: 16px 12px;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 8px;
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    font-size: 16px;
    line-height: 160%;
    letter-spacing: -0.01em;
    color: #FFFFFF;
    outline: none;
    resize: none;
}

/*==========Checkbox==========*/
.kontakt-checkbox{
    display: flex;
    align-items: flex-start;
    gap: 8px;
    cursor: pointer;
}
.kontakt-checkbox input[type="checkbox"]{
    appearance: none;
    -webkit-appearance: none;
    width: 19px;
    height: 19px;
    min-width: 19px;
    margin-top: 4px;
    border: 1.5px solid rgba(255,255,255,0.6);
    border-radius: 4px;
    background: transparent;
    cursor: pointer;
}
.kontakt-checkbox input[type="checkbox"]:checked{
    background: #47CCF5;
    border-color: #47CCF5;
}
.kontakt-checkbox span{
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    font-size: 16px;
    line-height: 160%;
    letter-spacing: -0.0125em;
    color: #FFFFFF;
}
.kontakt-checkbox a{
    color: #47CCF5;
    text-decoration: underline;
}

/*==========Submit Button==========*/
.kontakt-form .primary-xl{
    width: 256px;
    cursor: pointer;
    font-family: 'Inter', sans-serif;
    font-weight: 700;
    font-size: 16px;
    letter-spacing: -0.03em;
}

/*==========Success State==========*/
.kontakt-success{
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 20px;
    padding: 40px 0;
}
.kontakt-success .kontakt-form-title{
    text-align: center;
}
.kontakt-success-text{
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    font-size: 18px;
    line-height: 160%;
    letter-spacing: -0.0125em;
    color: rgba(255, 255, 255, 0.7);
}

/*==========Field Wrapper + Inline Field Errors==========*/
.kontakt-field{
    display: flex;
    flex-direction: column;
    gap: 6px;
    width: 100%;
}
.kontakt-field-error{
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    font-size: 13px;
    line-height: 140%;
    color: #FF6B6B;
    margin: 0;
    padding-left: 2px;
}
.kontakt-form input.has-error,
.kontakt-form textarea.has-error{
    border-color: rgba(255, 107, 107, 0.7);
    background: rgba(255, 107, 107, 0.06);
}
.kontakt-form input.has-error:focus,
.kontakt-form textarea.has-error:focus{
    border-color: #FF6B6B;
}
.kontakt-checkbox.has-error input[type="checkbox"]{
    border-color: #FF6B6B;
}

/*==========Send Error (Mail-Versand fehlgeschlagen)==========*/
.kontakt-send-error{
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    font-size: 15px;
    line-height: 160%;
    color: #FF6B6B;
    margin: 0;
    padding: 12px 16px;
    background: rgba(255, 107, 107, 0.08);
    border: 1px solid rgba(255, 107, 107, 0.2);
    border-radius: 8px;
}

/*==========Mobile==========*/
@media (max-width: 1400px){
    .kontakt-sec{ gap: 48px; }
    .kontakt-form-wrap{ width: 500px; }
    .kontakt-heading{ font-size: var(--header-tablet); }
    .kontakt-desc{ font-size: 16px; }
    .kontakt-check-item span{ font-size: 16px; }
    .kontakt-form-title{ font-size: 23px; }
}
@media (max-width: 1000px){
    .kontakt-hero{
        min-height: 0;
        padding-top: 80px;
        padding-bottom: 40px;
    }
    .kontakt-sec{
        flex-direction: column;
        align-items: stretch;
        padding: 78px 0 4px;
        gap: 60px;
    }
    .kontakt-left{
        max-width: 100%;
        align-items: center;
    }
    .kontakt-desc{ text-align: center; }
    .kontakt-form-wrap{ width: 100%; }
}
@media (max-width: 750px){
    .kontakt-hero::before{
        background: radial-gradient(ellipse 800px 500px at center 30%, #47CCF53A, transparent 80%);
    }
    .kontakt-sec{
        padding: 78px 0 4px;
        gap: 60px;
    }
    .kontakt-desc{ font-size: 16px; }
    .kontakt-desc br{ display: none; }
    .kontakt-check-item span{ font-size: 16px; }
    .kontakt-form-card{
        padding: 24px;
        gap: 20px;
    }
    .kontakt-form-title{ font-size: 24px; }
    .kontakt-form input[type="text"],
    .kontakt-form input[type="email"],
    .kontakt-form input[type="tel"]{
        height: 52px;
        font-size: 15px;
    }
    .kontakt-form textarea{ font-size: 15px; }
    .kontakt-checkbox span{ font-size: 14px; }
    .kontakt-form .primary-xl{ width: 100%; }
}
@media (max-width: 600px){
    .kontakt-sec{
        padding: 78px 0 4px;
        gap: 60px;
    }
    .kontakt-heading{
        font-size: var(--header-handy);
        line-height: 125%;
    }
    .kontakt-heading br{ display: none; }
    .kontakt-form-card{
        padding: 20px;
        border-radius: 20px;
    }
    .kontakt-form-title{ font-size: 22px; }
    .kontakt-success{ padding: 24px 0; }
    .kontakt-success-text{ font-size: 16px; }
}
@media (max-width: 550px){
    .kontakt-heading br{ display: inline; }
}
@media (max-width: 450px){
    .kontakt-sec{ padding-top: 53px; }
    .kontakt-desc{ font-size: 15px; }
    .kontakt-check-item span{ font-size: 15px; }
    .kontakt-form-card{ padding: 18px; }
    .kontakt-form-title{ font-size: 20px; }
}
