/* Kontaktformular Eisvogel */

.wpcf7 {
    max-width: 760px;
    margin: 3rem auto;
    padding: 1.5rem;
    background: #efb76c;
    border-radius: 22px;
    box-shadow: 0 12px 35px rgba(0,0,0,0.08);
}

.cform {
    width: 90% !important;
    margin: 0 auto;
}

.cform .row {
    width: 100%;
    margin: 0 0 1.4rem;
}

.cform label {
    display: block;
    font-size: 0.95rem;
    color: #254f5d;
    font-weight: 600;
    letter-spacing: 0.02em;
}

   .cform input[type="text"],
    .cform input[type="tel"],
    .cform input[type="email"],
    .cform input[type="date"],
    .cform input[type="time"],
    .section_wrapper input[type="time"],
    .section_wrapper input[type="date"],
    .section_wrapper select,
    .section_wrapper select,
    .section_wrapper input, 
    .section_wrapper textarea,
    .cform select,
    .cform input, 
    .cform textarea {
width: 100%;
    margin-top: 0.45rem;
    padding: 0.9rem 1rem;
    border: 2px solid transparent;
    border-radius: 14px;
    background: #fffaf0;
    color: #1f2f34;
    font-size: 1rem;
    line-height: 1.4;
    outline: none;
    transition: all 0.25s ease;
    box-sizing: border-box;
    font-family: inherit;
    }

      .cform input[type="date"],
    .cform input[type="time"] {
        width: 95%;
    }


.cform textarea {
    min-height: 150px;
    resize: vertical;
}

.cform input:focus,
.cform textarea:focus {
    border-color: #2d5b6b;
    background: #ffffff;
    box-shadow: 0 0 0 4px rgba(45,91,107,0.12);
}

.cform .datenschutz {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    font-size: 0.9rem;
    color: #1f2f34;
    line-height: 1.5;
}

.cform .datenschutz input[type="checkbox"] {
    width: 20px;
    height: 20px;
    margin-top: 0.15rem;
    accent-color: #2d5b6b;
}

.cform .datenschutz a {
    color: #2d5b6b;
    font-weight: 700;
    text-decoration: none;
}

.cform .datenschutz a:hover {
    text-decoration: underline;
}


input[type="submit"] {
    display: block;
    padding: 0.9rem 1.7rem;
    border: none;
    border-radius: 999px;
    background: #2d5b6b;
    color: #fffaf0;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.25s ease;
    margin: auto;
}

.cform input[type="submit"]:hover {
    background: #1f4350;
    transform: translateY(-2px);
}

.cform input[type="submit"]:disabled {
    opacity: 0.55;
    cursor: not-allowed;
    transform: none;
}

.wpcf7-not-valid-tip {
    margin-top: 0.35rem;
    font-size: 0.85rem;
    color: #a64028;
}

.wpcf7-response-output {
    margin: 1.5rem 0 0 !important;
    padding: 1rem 1.2rem !important;
    border-radius: 14px;
    border: 2px solid #2d5b6b !important;
    color: #254f5d;
    background: #fffaf0;
}

/* WP Armour Admin-Hinweis ausblenden, weil Besucher keine Honigtopf-Poesie brauchen */
.wpa-test-msg,
.altEmail_container {
    display: none !important;
}

/* Mobile */
@media (max-width: 768px) {
    .wpcf7 {
        margin: 2rem 1rem;
        padding: 1.5rem;
        border-radius: 18px;
    }

    .cform label {
        font-size: 0.9rem;
    }

    .cform input[type="text"],
    .cform input[type="tel"],
    .cform input[type="email"],
    .cform input[type="date"],
    .cform input[type="time"],
    .cform select,
    .cform input, 
    .cform textarea {

    margin-top: 0.45rem;
    padding: 0.9rem 1rem;
    border: 2px solid transparent;
    border-radius: 14px;
    background: #fffaf0;
    color: #1f2f34;
    font-size: 1rem;
    line-height: 1.4;
    outline: none;
    transition: all 0.25s ease;
    box-sizing: border-box;
    font-family: inherit;
    }

    .cform .datenschutz {
        gap: 0.6rem;
        font-size: 0.85rem;
    }

    .cform input[type="submit"] {
        width: 100%;
        text-align: center;
        padding: 1rem;
    }
}

@media (max-width: 480px) {
    .wpcf7 {
        margin: 1.5rem 0.75rem;
        padding: 1.2rem;
    }

    .cform textarea {
        min-height: 130px;
    }
}