/* === Anigdha Ausbildung — Contact Page (page-contact.php) === */

/* Page Banner (duplicated for isolation) */
.page-banner h1 {
    text-align: center;
}

/* ═══════════════════════════════════════
   CONTACT INFO CARDS — Hover
   ═══════════════════════════════════════ */
.contact-info-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 40px rgba(16,27,51,.12);
}

/* ═══════════════════════════════════════
   CONTACT PAGE CF7 FORM
   ═══════════════════════════════════════ */

.contact-page-form .wpcf7 form {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.contact-page-form .wpcf7 label {
    display: block;
    font-family: 'Poppins', sans-serif;
    font-size: 13.5px;
    font-weight: 700;
    color: #1A1A1A;
    margin-bottom: 8px;
}

.contact-page-form .wpcf7 input[type="text"],
.contact-page-form .wpcf7 input[type="email"],
.contact-page-form .wpcf7 input[type="tel"],
.contact-page-form .wpcf7 input[type="url"],
.contact-page-form .wpcf7 input[type="number"] {
    width: 100%;
    height: 58px;
    border-radius: 10px;
    border: 1px solid #E8E8E8;
    background: #F8F9FA;
    padding: 0 22px;
    font-family: 'Poppins', sans-serif;
    font-size: 15px;
    color: #1A1A1A;
    outline: none;
    transition: border-color .2s;
    box-sizing: border-box;
}

.contact-page-form .wpcf7 input[type="text"]:focus,
.contact-page-form .wpcf7 input[type="email"]:focus,
.contact-page-form .wpcf7 input[type="tel"]:focus {
    border-color: #DD0000;
}

.contact-page-form .wpcf7 select {
    width: 100%;
    height: 58px;
    border-radius: 10px;
    border: 1px solid #E8E8E8;
    background: #F8F9FA;
    padding: 0 22px;
    font-family: 'Poppins', sans-serif;
    font-size: 15px;
    color: #1A1A1A;
    outline: none;
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%238A8A8A' stroke-width='1.5' fill='none'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 22px center;
    cursor: pointer;
    box-sizing: border-box;
}

.contact-page-form .wpcf7 textarea {
    width: 100%;
    height: 140px;
    border-radius: 10px;
    border: 1px solid #E8E8E8;
    background: #F8F9FA;
    padding: 20px 22px;
    font-family: 'Poppins', sans-serif;
    font-size: 15px;
    color: #1A1A1A;
    outline: none;
    resize: vertical;
    transition: border-color .2s;
    box-sizing: border-box;
}

.contact-page-form .wpcf7 textarea:focus {
    border-color: #DD0000;
}

.contact-page-form .wpcf7 input[type="submit"] {
    width: auto;
    height: 58px;
    padding: 0 38px;
    border-radius: 10px;
    background: #DD0000;
    color: #fff;
    font-family: 'Poppins', sans-serif;
    font-size: 15.5px;
    font-weight: 700;
    border: none;
    cursor: pointer;
    transition: background .2s;
}

.contact-page-form .wpcf7 input[type="submit"]:hover {
    background: #1A1A1A;
}

.contact-page-form .wpcf7 .wpcf7-response-output {
    font-size: 13px;
    border-radius: 5px;
    margin: 10px 0 0 !important;
}

.contact-page-form .wpcf7 .wpcf7-not-valid-tip {
    font-size: 12px;
    color: #DD0000;
    margin-top: 4px;
}

/* ═══════════════════════════════════════
   MAP EMBED — fill container
   ═══════════════════════════════════════ */
.contact-map-panel iframe {
    width: 100% !important;
    height: 100% !important;
    border: 0;
    display: block;
}

/* ═══════════════════════════════════════
   RESPONSIVE — Tablet (max-width: 1024px)
   ═══════════════════════════════════════ */
@media (max-width: 1024px) {
    .page-banner { height: 300px !important; }
    .page-banner h1 { font-size: 42px !important; }
    .banner-deco { display: none !important; }
    .page-banner-title { font-size: 40px !important; }

    .contact-info-strip { padding: 50px 24px 0 !important; }
    .contact-info-grid { grid-template-columns: repeat(3, 1fr) !important; gap: 20px !important; }

    .contact-main { padding: 50px 24px 70px !important; }
    .contact-main-wrap { flex-direction: column !important; }
    .contact-form-panel { padding: 40px 30px !important; }
    .contact-map-panel { width: 100% !important; flex: none !important; min-height: 400px !important; }

    .contact-why { padding: 60px 24px !important; }
    .contact-why-grid { grid-template-columns: repeat(2, 1fr) !important; }
    .contact-why h2 { font-size: 34px !important; }
}

/* ═══════════════════════════════════════
   RESPONSIVE — Mobile (max-width: 768px)
   ═══════════════════════════════════════ */
@media (max-width: 768px) {
    .page-banner { height: 260px !important; }
    .page-banner h1 { font-size: 32px !important; letter-spacing: -0.8px !important; }
    .banner-title-row { gap: 0 !important; }
    .page-banner-title { font-size: 30px !important; }

    .contact-info-strip { padding: 40px 18px 0 !important; }
    .contact-info-grid { grid-template-columns: 1fr !important; gap: 16px !important; }
    .contact-info-card { padding: 28px 22px !important; }

    .contact-main { padding: 40px 18px 50px !important; }
    .contact-form-panel { padding: 30px 20px !important; }
    .contact-form-panel h2 { font-size: 28px !important; }
    .contact-form-grid { grid-template-columns: 1fr !important; }
    .contact-map-panel { min-height: 300px !important; }

    .contact-why { padding: 50px 18px !important; }
    .contact-why h2 { font-size: 28px !important; }
    .contact-why-grid { grid-template-columns: 1fr !important; gap: 20px !important; }
}

/* ═══════════════════════════════════════
   RESPONSIVE — Small Mobile (max-width: 480px)
   ═══════════════════════════════════════ */
@media (max-width: 480px) {
    .page-banner { height: 220px !important; }
    .page-banner h1 { font-size: 26px !important; }
    .page-banner-title { font-size: 24px !important; }

    .contact-info-strip { padding: 30px 14px 0 !important; }
    .contact-info-card { padding: 24px 18px !important; gap: 14px !important; }

    .contact-main { padding: 30px 14px 40px !important; }
    .contact-form-panel { padding: 24px 16px !important; }
    .contact-form-panel h2 { font-size: 24px !important; }
    .contact-map-panel { min-height: 250px !important; }

    .contact-why { padding: 40px 14px !important; }
    .contact-why h2 { font-size: 24px !important; }
}
