/* ==========================================================
   CONTACT PAGE REDESIGN (page-id-334658)
   Rollback: delete this file + remove enqueue from functions.php
   ========================================================== */

/* --- Intro Section --- */
.hk-intro {
    text-align: center;
    padding: 50px 20px 20px;
    max-width: 700px;
    margin: 0 auto;
}
.hk-intro-eyebrow {
    display: inline-block;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: #c9a84c;
    margin-bottom: 12px;
    font-family: 'Lato', sans-serif;
}
.hk-intro h2 {
    font-family: 'Lato', sans-serif !important;
    font-size: 34px !important;
    font-weight: 900 !important;
    color: #112c86 !important;
    margin: 0 0 16px 0 !important;
    padding: 0 !important;
    line-height: 1.2 !important;
}
.hk-intro p {
    font-size: 16px;
    color: #555;
    line-height: 1.8;
    margin: 0 auto 20px;
    max-width: 550px;
}
.hk-accent-line {
    width: 60px;
    height: 3px;
    background: #c9a84c;
    margin: 0 auto;
    border-radius: 2px;
}

/* --- Trust Bar --- */
.hk-trust-bar {
    display: flex;
    justify-content: center;
    gap: 40px;
    padding: 30px 20px 40px;
    max-width: 750px;
    margin: 0 auto;
}
.hk-trust-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    text-align: center;
}
.hk-trust-icon {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, #1943cf, #112c86);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    color: #fff;
    flex-shrink: 0;
}
.hk-trust-item span {
    font-size: 13px;
    color: #555;
    font-weight: 600;
    font-family: 'Lato', sans-serif;
    max-width: 140px;
    line-height: 1.4;
}

/* --- Main Section Override --- */
.page-id-334658 .et_pb_section_0 {
    background-color: #f5f4f0 !important;
    padding: 40px 0 40px !important;
}

/* --- Form Card (left column) --- */
.page-id-334658 .et_pb_column_3_5 {
    background: #fff !important;
    border-radius: 16px !important;
    padding: 40px !important;
    box-shadow: 0 1px 3px rgba(0,0,0,0.04), 0 4px 16px rgba(0,0,0,0.04) !important;
    border: 1px solid rgba(0,0,0,0.04) !important;
}
.page-id-334658 .et_pb_column_3_5 .et_pb_text_0 {
    margin-bottom: 4px !important;
    padding-bottom: 0 !important;
}
.page-id-334658 .et_pb_column_3_5 .et_pb_text_0 .et_pb_text_inner h2 {
    font-family: "Lato", sans-serif !important;
    font-size: 24px !important;
    font-weight: 800 !important;
    color: #112c86 !important;
    text-align: left !important;
    margin: 0 0 4px 0 !important;
    padding: 0 !important;
    line-height: 1.3 !important;
}
.page-id-334658 .et_pb_column_3_5 .et_pb_text_0 .et_pb_text_inner p {
    font-size: 15px !important;
    color: #666 !important;
    line-height: 1.6 !important;
    margin: 0 !important;
    padding: 0 !important;
}
.page-id-334658 .doct-btn.striche p {
    padding-left: 0 !important;
    font-size: 15px !important;
    color: #666 !important;
    line-height: 1.6 !important;
}
.page-id-334658 .doct-btn.striche p:before {
    display: none !important;
}

/* Form inputs */
.page-id-334658 .wps-form-row input.wpcf7-form-control,
.page-id-334658 .wps-form-row textarea.wpcf7-form-control,
.page-id-334658 select.wpcf7-form-control.wpcf7-select,
.page-id-334658 textarea.wpcf7-form-control.wpcf7-textarea {
    border: 1px solid #e0ddd5 !important;
    border-radius: 10px !important;
    padding: 14px 18px !important;
    font-size: 15px !important;
    background: #fafaf8 !important;
    transition: border-color 0.3s, box-shadow 0.3s, background 0.3s !important;
    font-family: 'Mulish', sans-serif !important;
    color: #333 !important;
}
.page-id-334658 .wps-form-row input.wpcf7-form-control:focus,
.page-id-334658 .wps-form-row textarea.wpcf7-form-control:focus,
.page-id-334658 textarea.wpcf7-form-control.wpcf7-textarea:focus {
    border-color: #1943cf !important;
    background: #fff !important;
    box-shadow: 0 0 0 3px rgba(25,67,207,0.1) !important;
    outline: none !important;
}
.page-id-334658 textarea.wpcf7-form-control.wpcf7-textarea {
    min-height: 140px !important;
    resize: vertical !important;
}

/* Form labels */
.page-id-334658 .wps-form label {
    font-family: 'Lato', sans-serif !important;
    font-size: 13px !important;
    font-weight: 700 !important;
    color: #112c86 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    margin-bottom: 6px !important;
    display: block !important;
}

/* File upload */
.page-id-334658 .codedropz-upload-handler {
    border: 2px dashed #e0ddd5 !important;
    border-radius: 12px !important;
    transition: border-color 0.3s !important;
    background: #fafaf8 !important;
}
.page-id-334658 .codedropz-upload-handler:hover {
    border-color: #1943cf !important;
}

/* Submit button */
.page-id-334658 .entry-content input.wpcf7-form-control.wpcf7-submit.has-spinner,
.page-id-334658 input.wpcf7-form-control.wpcf7-submit {
    background: linear-gradient(135deg, #1943cf, #112c86) !important;
    color: #fff !important;
    border: none !important;
    border-radius: 10px !important;
    padding: 16px 40px !important;
    font-size: 14px !important;
    font-weight: 800 !important;
    font-family: 'Lato', sans-serif !important;
    text-transform: uppercase !important;
    letter-spacing: 1px !important;
    cursor: pointer !important;
    transition: all 0.35s cubic-bezier(0.23,1,0.32,1) !important;
    width: 100% !important;
    box-shadow: 0 4px 15px rgba(25,67,207,0.2) !important;
}
.page-id-334658 .entry-content input.wpcf7-form-control.wpcf7-submit.has-spinner:hover,
.page-id-334658 input.wpcf7-form-control.wpcf7-submit:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 8px 25px rgba(25,67,207,0.3) !important;
}

/* Privacy checkbox */
.page-id-334658 .wpcf7-acceptance label {
    display: flex !important;
    align-items: flex-start !important;
    gap: 10px !important;
    font-size: 13px !important;
    color: #777 !important;
    line-height: 1.5 !important;
}
.page-id-334658 .wpcf7-acceptance input[type="checkbox"] {
    margin-top: 3px !important;
    flex-shrink: 0 !important;
    width: 18px !important;
    height: 18px !important;
    accent-color: #112c86 !important;
}
.page-id-334658 p.rechtstext {
    font-size: 12px !important;
    color: #aaa !important;
    margin-top: 4px !important;
}

/* --- Contact Sidebar (right column) --- */
.page-id-334658 .et_pb_column_2_5 .et_pb_image {
    display: none !important;
}
.page-id-334658 .et_pb_text_1.kontakt-icons {
    background: #fff !important;
    border-radius: 16px !important;
    padding: 30px !important;
    box-shadow: 0 1px 3px rgba(0,0,0,0.04), 0 4px 16px rgba(0,0,0,0.04) !important;
    border: 1px solid rgba(0,0,0,0.04) !important;
}
.page-id-334658 .kontakt-icons h2 {
    font-family: 'Lato', sans-serif !important;
    font-size: 22px !important;
    font-weight: 800 !important;
    color: #112c86 !important;
    margin-bottom: 20px !important;
    padding-bottom: 16px !important;
    border-bottom: 2px solid #f0ede6 !important;
}
.page-id-334658 .kontakt-icons ul {
    padding: 0 !important;
    margin: 0 !important;
}
.page-id-334658 .kontakt-icons li {
    background: #f8f7f3 !important;
    border-radius: 12px !important;
    padding: 16px 16px 16px 60px !important;
    margin-bottom: 12px !important;
    position: relative !important;
    list-style: none !important;
    border: 1px solid #eee !important;
    transition: all 0.35s cubic-bezier(0.23,1,0.32,1) !important;
    font-size: 13px !important;
    line-height: 1.5 !important;
    color: #555 !important;
    overflow-wrap: break-word !important;
    word-break: break-word !important;
}
.page-id-334658 .kontakt-icons li br {
    display: none !important;
}
.page-id-334658 .kontakt-icons li a {
    word-break: break-all !important;
}
.page-id-334658 .kontakt-icons li:hover {
    transform: translateY(-3px) !important;
    box-shadow: 0 8px 20px rgba(17,44,134,0.08) !important;
    border-color: rgba(25,67,207,0.12) !important;
}
.page-id-334658 .kontakt-icons li b {
    color: #112c86 !important;
    font-family: 'Lato', sans-serif !important;
    font-size: 14px !important;
    display: block !important;
    margin-bottom: 2px !important;
}
.page-id-334658 .kontakt-icons li a {
    color: #1943cf !important;
    text-decoration: none !important;
    font-weight: 500 !important;
}
.page-id-334658 .kontakt-icons li a:hover {
    text-decoration: underline !important;
}
.page-id-334658 .kontakt-icons li:before {
    width: 36px !important;
    height: 36px !important;
    background: linear-gradient(135deg, #1943cf, #112c86) !important;
    border-radius: 10px !important;
    left: 14px !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    background-size: 50% !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
}
.page-id-334658 .kontakt-icons li:nth-child(1):before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='white' viewBox='0 0 24 24'%3E%3Cpath d='M6.62 10.79a15.05 15.05 0 006.59 6.59l2.2-2.2a1 1 0 011.01-.24c1.12.37 2.33.57 3.58.57a1 1 0 011 1V20a1 1 0 01-1 1A17 17 0 013 4a1 1 0 011-1h3.5a1 1 0 011 1c0 1.25.2 2.46.57 3.58a1 1 0 01-.24 1.01l-2.2 2.2z'/%3E%3C/svg%3E") !important;
}
.page-id-334658 .kontakt-icons li.hk-contact-address:before {
    content: '' !important;
    position: absolute !important;
    width: 36px !important;
    height: 36px !important;
    background: linear-gradient(135deg, #1943cf, #112c86) !important;
    border-radius: 10px !important;
    left: 14px !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    background-size: 50% !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='white' viewBox='0 0 24 24'%3E%3Cpath d='M12 2C8.13 2 5 5.13 5 9c0 5.25 7 13 7 13s7-7.75 7-13c0-3.87-3.13-7-7-7zm0 9.5a2.5 2.5 0 110-5 2.5 2.5 0 010 5z'/%3E%3C/svg%3E") !important;
}
.page-id-334658 .kontakt-icons li.hk-contact-hours:before {
    content: '' !important;
    position: absolute !important;
    width: 36px !important;
    height: 36px !important;
    background: linear-gradient(135deg, #1943cf, #112c86) !important;
    border-radius: 10px !important;
    left: 14px !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    background-size: 50% !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='white' viewBox='0 0 24 24'%3E%3Cpath d='M12 2a10 10 0 100 20 10 10 0 000-20zm1 11h-4a1 1 0 010-2h3V7a1 1 0 012 0v6z'/%3E%3C/svg%3E") !important;
}

/* --- FAQ Section --- */
.hk-faq-section {
    padding: 40px 20px;
    background: #fff;
    margin: 0;
    clear: both;
}
.hk-section-title {
    text-align: center;
    margin-bottom: 30px;
}
.hk-section-title h2 {
    font-family: 'Lato', sans-serif !important;
    font-size: 30px !important;
    font-weight: 900 !important;
    color: #112c86 !important;
    margin: 0 0 16px 0 !important;
    padding: 0 !important;
}
.hk-faq-grid {
    max-width: 800px;
    margin: 0 auto;
}
.hk-faq-item {
    border-bottom: 1px solid #eee;
}
.hk-faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
    cursor: pointer;
    gap: 16px;
    transition: color 0.2s;
}
.hk-faq-question span:first-child {
    font-family: 'Lato', sans-serif;
    font-size: 16px;
    font-weight: 700;
    color: #222;
}
.hk-faq-question:hover span:first-child {
    color: #1943cf;
}
.hk-faq-toggle {
    font-size: 12px;
    color: #112c86;
    transition: transform 0.3s;
    flex-shrink: 0;
}
.hk-faq-item.open .hk-faq-toggle {
    transform: rotate(180deg);
}
.hk-faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, opacity 0.3s ease;
    opacity: 0;
}
.hk-faq-item.open .hk-faq-answer {
    max-height: 300px;
    opacity: 1;
    padding-bottom: 20px;
}
.hk-faq-answer p {
    font-size: 15px;
    color: #555;
    line-height: 1.7;
    margin: 0;
}
.hk-faq-answer a {
    color: #1943cf;
    text-decoration: none;
    font-weight: 600;
}
.hk-faq-answer a:hover {
    text-decoration: underline;
}

/* --- CTA Bar --- */
.hk-cta-bar {
    background: linear-gradient(135deg, #1943cf, #112c86);
    border-radius: 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 40px 50px;
    max-width: 800px;
    margin: 0 auto 40px;
    gap: 30px;
}
.hk-cta-text h3 {
    font-family: 'Lato', sans-serif !important;
    font-size: 22px !important;
    font-weight: 900 !important;
    color: #fff !important;
    margin: 0 0 6px 0 !important;
    padding: 0 !important;
}
.hk-cta-text p {
    font-size: 15px !important;
    color: rgba(255,255,255,0.8) !important;
    margin: 0 !important;
}
.hk-cta-btn {
    display: inline-block;
    background: #c9a84c;
    color: #112c86 !important;
    font-family: 'Lato', sans-serif;
    font-size: 13px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    padding: 14px 32px;
    border-radius: 10px;
    text-decoration: none !important;
    transition: all 0.35s cubic-bezier(0.23,1,0.32,1);
    white-space: nowrap;
    flex-shrink: 0;
}
.hk-cta-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.2);
    background: #d4b45a;
}

/* --- Responsive: Tablet --- */
@media (max-width: 980px) {
    .hk-intro h2 {
        font-size: 28px !important;
    }
    .hk-trust-bar {
        gap: 24px;
        flex-wrap: wrap;
    }
    .page-id-334658 .et_pb_column_3_5 {
        padding: 28px !important;
    }
    .page-id-334658 .kontakt-icons li {
        padding: 16px 16px 16px 58px !important;
    }
    .hk-cta-bar {
        flex-direction: column;
        text-align: center;
        padding: 32px 28px;
        margin-left: 20px;
        margin-right: 20px;
    }
}

/* --- Responsive: Mobile --- */
@media (max-width: 600px) {
    .hk-intro {
        padding: 30px 16px 10px;
    }
    .hk-intro h2 {
        font-size: 24px !important;
    }
    .hk-trust-bar {
        flex-direction: column;
        gap: 16px;
        padding: 20px 16px 30px;
    }
    .hk-trust-item {
        flex-direction: row;
        gap: 12px;
        text-align: left;
    }
    .hk-trust-item span {
        max-width: none;
    }
    .page-id-334658 .et_pb_column_3_5 {
        padding: 20px !important;
        border-radius: 12px !important;
    }
    .page-id-334658 .et_pb_text_1.kontakt-icons {
        padding: 20px !important;
        border-radius: 12px !important;
    }
    .page-id-334658 .wps-form-row {
        flex-direction: column !important;
    }
    .page-id-334658 .wps-form-column {
        width: 100% !important;
    }
    .hk-faq-section {
        padding: 40px 16px;
    }
    .hk-section-title h2 {
        font-size: 24px !important;
    }
    .hk-faq-question span:first-child {
        font-size: 15px;
    }
    .hk-cta-bar {
        margin-left: 16px;
        margin-right: 16px;
        padding: 28px 20px;
    }
    .hk-cta-text h3 {
        font-size: 20px !important;
    }
}

/* ============================================
   VISUAL UPDATE: Weniger weiss, mehr Tiefe
   ============================================ */

/* Intro-Bereich: warmer Hintergrund */
.hk-intro {
    background: #fff !important;
    padding: 50px 20px 10px !important;
    max-width: none !important;
    margin: 0 !important;
}
.hk-trust-bar {
    background: #fff !important;
    max-width: none !important;
    padding: 30px 20px 50px !important;
}

/* Trust-Icons groesser & sichtbarer */
.hk-trust-icon {
    width: 56px !important;
    height: 56px !important;
    font-size: 26px !important;
    border-radius: 14px !important;
    box-shadow: 0 4px 14px rgba(17,44,134,0.2) !important;
}

/* Hauptsektion: abwechselnder Hintergrund */
.page-id-334658 .et_pb_section_0 {
    background: #f5f4f0 !important;
}

/* Kontakt-Sidebar Icons sichtbar machen */
.page-id-334658 .kontakt-icons li:before {
    opacity: 1 !important;
    display: block !important;
}
.page-id-334658 .kontakt-icons li:nth-child(1):before {
    content: '' !important;
    position: absolute !important;
    display: block !important;
}

/* Sidebar-Card: leicht blauer Hintergrund statt weiss */
.page-id-334658 .et_pb_text_1.kontakt-icons {
    background: linear-gradient(145deg, #112c86, #1943cf) !important;
    border: none !important;
}
.page-id-334658 .kontakt-icons h2 {
    color: #fff !important;
    border-bottom-color: rgba(255,255,255,0.15) !important;
}
.page-id-334658 .kontakt-icons li {
    background: rgba(255,255,255,0.1) !important;
    border-color: rgba(255,255,255,0.1) !important;
    color: rgba(255,255,255,0.85) !important;
}
.page-id-334658 .kontakt-icons li:hover {
    background: rgba(255,255,255,0.18) !important;
    border-color: rgba(255,255,255,0.2) !important;
    box-shadow: 0 8px 20px rgba(0,0,0,0.15) !important;
}
.page-id-334658 .kontakt-icons li b {
    color: #fff !important;
}
.page-id-334658 .kontakt-icons li a {
    color: #c9a84c !important;
}
.page-id-334658 .kontakt-icons li a:hover {
    color: #d4b45a !important;
}
.page-id-334658 .kontakt-icons li:before {
    background: rgba(255,255,255,0.15) !important;
    background-size: 50% !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
}
.page-id-334658 .kontakt-icons li:nth-child(1):before {
    background-color: rgba(255,255,255,0.15) !important;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='white' viewBox='0 0 24 24'%3E%3Cpath d='M6.62 10.79a15.05 15.05 0 006.59 6.59l2.2-2.2a1 1 0 011.01-.24c1.12.37 2.33.57 3.58.57a1 1 0 011 1V20a1 1 0 01-1 1A17 17 0 013 4a1 1 0 011-1h3.5a1 1 0 011 1c0 1.25.2 2.46.57 3.58a1 1 0 01-.24 1.01l-2.2 2.2z'/%3E%3C/svg%3E") !important;
}
.page-id-334658 .kontakt-icons li.hk-contact-address:before {
    background-color: rgba(255,255,255,0.15) !important;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='white' viewBox='0 0 24 24'%3E%3Cpath d='M12 2C8.13 2 5 5.13 5 9c0 5.25 7 13 7 13s7-7.75 7-13c0-3.87-3.13-7-7-7zm0 9.5a2.5 2.5 0 110-5 2.5 2.5 0 010 5z'/%3E%3C/svg%3E") !important;
}
.page-id-334658 .kontakt-icons li.hk-contact-hours:before {
    background-color: rgba(255,255,255,0.15) !important;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='white' viewBox='0 0 24 24'%3E%3Cpath d='M12 2a10 10 0 100 20 10 10 0 000-20zm1 11h-4a1 1 0 010-2h3V7a1 1 0 012 0v6z'/%3E%3C/svg%3E") !important;
}
}
.hk-faq-grid {
    background: #fff;
    border-radius: 16px;
    padding: 10px 30px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.04), 0 4px 16px rgba(0,0,0,0.04);
}

/* CTA Bar: etwas mehr Abstand und Schatten */
.hk-cta-bar {
    box-shadow: 0 8px 30px rgba(17,44,134,0.15) !important;
    margin-top: 0 !important;
}

/* --- Responsive fix --- */
@media (max-width: 600px) {
    .hk-faq-grid {
        padding: 6px 16px;
    }
}

/* --- Gap zwischen Hero und Intro entfernen --- */
.page-id-334658 .entry-content {
    margin-top: 0 !important;
    padding-top: 0 !important;
}
.page-id-334658 article.post-334658 {
    margin-top: 0 !important;
    padding-top: 0 !important;
}
.page-id-334658 .et-l--post {
    margin-top: 0 !important;
    padding-top: 0 !important;
}
.page-id-334658 #main-content {
    padding-top: 0 !important;
}
.page-id-334658 .container:first-child {
    padding-top: 0 !important;
}

/* --- Gap zwischen Formular-Sektion und FAQ fixen --- */
.page-id-334658 .et-l.et-l--post {
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
}
.page-id-334658 .et_builder_inner_content {
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
}
.page-id-334658 .et_pb_section_0.et_pb_section {
    background-color: #f5f4f0 !important;
    padding-bottom: 30px !important;
    margin-bottom: 0 !important;
}
