/* Kontaktformular Styles */


.at-kontaktformular {
    font-family: Montserrat, sans-serif!important;
    background-color: #2E5C42;
    margin-top: -30px;

    color: #ffffff;
    font-size: 16px;
}



#atkf-form.at-kontaktformular {max-width: 750px;width: 97%; box-sizing: border-box;}

@media (max-width: 920px) {
    #atkf-form.at-kontaktformular {
    max-width: 750px;
    width: 100%;
    }
}



.at-kontaktformular label {display: block;}

.at-kontaktformular table, .at-kontaktformular tr, .at-kontaktformular td {
background-color: #2E5C42!important;border: 1px solid #2E5C42;outline: none;
}


.at-kontaktformular input[type="text"],
.at-kontaktformular input[type="email"],
.at-kontaktformular textarea {
    font-family: Montserrat, sans-serif!important;
    font-weight: 400;
    width: 100%;
    padding: 10px;
    background-color: #FFFFFF;
    color: #2E5C42;
    border: none;
    box-sizing: border-box;
    font-size: 16px;
    border: 1px solid #F3F4F4;
}

.atkf-namensfelder {display: flex;gap: 1rem;}
@media (max-width: 600px) {
    .atkf-namensfelder {
        flex-direction: column;
    }

    .atkf-namensfelder > div {
        width: 100%;
    }
}
.at-kontaktformular,
.atkf-namensfelder {
    min-width: 0;
}


.at-kontaktformular textarea {resize: none;min-height: 100px;}
.at-kontaktformular input[type="text"]:focus,
.at-kontaktformular input[type="email"]:focus,
.at-kontaktformular textarea:focus {border: 1px solid #19E873;outline: none;
}


.at-kontaktformular a {color: #ffffff;text-decoration: none;}

.at-kontaktformular .PflichtfelderHinweis {font-size:12px;}



.at-kontaktformular button {
    font-family: Montserrat, sans-serif !important;
    background-color: #19E873;
    color: #2E5C42;
    padding: 8px 30px;
    border-radius: 3px;
    border: 1px solid #19E873;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;

    /* wichtig */
    transition: none;
    box-shadow: none;
    outline: none;
    -webkit-tap-highlight-color: transparent;
}

/* alle Zustände gleich halten */
.at-kontaktformular button:hover,
.at-kontaktformular button:active,
.at-kontaktformular button:focus,
.at-kontaktformular button:focus-visible {
    background-color: #19E873;
    color: #2E5C42;
    border-color: #19E873;
    box-shadow: none;
}





/*Datenschutz Hinweis*/
.atkf-daschusatz {
    width: 100%;
    border-collapse: collapse;
    font-size: 16px;
    line-height: 1.4;
    table-layout: fixed;
}

.atkf-daschusatz td:first-child {width: 10px;vertical-align: middle;}
.atkf-daschusatz td:last-child {width: auto;vertical-align: top;}
.atkf-daschusatz td {padding-top: 0!important;padding-bottom: 0!important;padding-left:3px!important;
    padding-right:30px!important;}

.atkf-nowrap {
    white-space: nowrap;
}

    .at-kontaktformular input[type="checkbox"] {appearance: none;-webkit-appearance: none;background-color: #ffffff;
    width: 1.5rem;height: 1.5rem;cursor: pointer;position: relative;vertical-align: middle;left:-8px;border-radius:3px;
    margin-left:5px!important;
}

.at-kontaktformular input[type="checkbox"]:checked::before {
    content: "";position: absolute;top: 3px;left: 3px;right: 3px;bottom: 3px;background-color: #2E5C42;border-radius:2.5px;
    border: 1px solid #2E5C42;}
.at-kontaktformular input[type="checkbox"] {pointer-events: auto;}
.at-kontaktformular input[type="checkbox"]::after {content: none !important;}






/*Honeypod*/
.atkf-honi {position:absolute; left:-9999px; top:auto; width:1px; height:1px; overflow:hidden;}





/* ---------------------------------
 *   Modal Overlay
 * ---------------------------------- */
.atkf-modal {
    position: fixed;
    inset: 0;
    background: rgba(12, 13, 14, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;

    opacity: 0;
    pointer-events: none;

    transition:  opacity 0.25s ease;

}

/* aktiv */
.atkf-modal.active {
    opacity: 1;
    pointer-events: auto;
}

/* ---------------------------------
 *   Modal Box
 * ---------------------------------- */
.atkf-modal-box {
    position: relative;
    background: #ffffff;
    max-width: 360px;
    width: 90%;
    border-radius: 10px;
    box-shadow:
    0 12px 35px rgba(0,0,0,0.25),
    0 2px 6px rgba(0,0,0,0.15);
    overflow: hidden;
    animation: atkfModalIn 0.25s ease-out;
    border: 4px solid #2E5C42;
}

/* farbiger Kopf */
.atkf-modal-box::before {
    content: "";
    display: block;
    height: 30px;
    background: #2E5C42;
}

/* ---------------------------------
 *   Inhalt
 * ---------------------------------- */
.atkf-modal-content {
    padding: 50px 22px 50px;
    text-align: center;
    font-weight: bold;
}

.atkf-modal-content span {
    display: block;
    font-size: 16px;
    line-height: 1.45;
    color: #2E5C42;
    margin-bottom: 8px;
}

.atkf-modal-content span:last-child {
    margin-bottom: 0;
}

/* ---------------------------------
 *   Animation Keyframes
 * ---------------------------------- */
@keyframes atkfModalIn {
    from { opacity: 0; transform: scale(0.95) translateY(10px); }
    to   { opacity: 1; transform: scale(1) translateY(0); }
}

@keyframes atkfModalOut {
    from { opacity: 1; transform: scale(1) translateY(0); }
    to   { opacity: 0; transform: scale(0.95) translateY(10px); }
}

/* Box Animation beim Schließen */
.atkf-modal-box.out {
    animation: atkfModalOut 0.25s ease-in forwards;
}

/* ---------------------------------
 *   Modal Close X
 * ---------------------------------- */
.atkf-modal-close {
    position: absolute;
    top: -5px;
    right: 12px;
    background: transparent;
    border: none;
    font-size: 32px;font-weight:bold;
    line-height: 1;
    cursor: pointer;
    color: #ffffff;
    padding: 4px;
}

.atkf-modal-close:hover {
    color: #111;
}

.atkf-modal-close:focus {
    outline: none;
}


/* ---------------------------------
 *   Screenreader-only Label
 * ---------------------------------- */
.atkf-sr-only {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0 0 0 0) !important;
    clip-path: inset(50%) !important;
    white-space: nowrap !important;
    border: 0 !important;
}


