/*
Theme Name: Konig Child
Template: konig
Version: 1.0
Text Domain: konig-child
*/


/* ==========================
   Playfair Display
========================== */

@font-face {
    font-family: 'Playfair Display';
    src: url('assets/fonts/PlayfairDisplay-Regular.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Playfair Display';
    src: url('assets/fonts/PlayfairDisplay-Medium.ttf') format('truetype');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Playfair Display';
    src: url('assets/fonts/PlayfairDisplay-SemiBold.ttf') format('truetype');
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Playfair Display';
    src: url('assets/fonts/PlayfairDisplay-Bold.ttf') format('truetype');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Playfair Display';
    src: url('assets/fonts/PlayfairDisplay-Italic.ttf') format('truetype');
    font-weight: 400;
    font-style: italic;
    font-display: swap;
}

.accordion-content{

    max-height:0;

    overflow:hidden;

    transition:max-height .35s ease;

}

.accordion-item.active .accordion-content{

    max-height:500px;

}

.accordion-item.active .accordion-icon{

    transform:rotate(180deg);

}

.accordion-item.active .accordion-title{

    color:#0F4C81;

}


/* ==========================================
   KONTAKT PAGE - FULL LAYOUT CSS
========================================== */

/* ===== Page Section Background & Padding ===== */
.container-pad-page {
    background-color: #f9f9f9 !important;
    padding: 60px 4% 60px !important;
}
.container-pad-page .fusion-builder-row.fusion-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0;
	flex-direction: row;
    justify-content: space-evenly;
}
.fusion-column-content {
	margin-top: 80px;
}
/* ===== Left Column - Contact Info ===== */
.fusion_builder_column_1_3 {
    flex: 0 0 33.3333%;
    max-width: 33.3333%;
}
.fusion-title-1 h4,
.fusion-title-2 h4 {
    color: #407cbf;
    font-size: 19px;
    font-weight: 600;
    margin: 0 0 30px;
}
.fusion-title-1 {
    text-align: center;
}
.fusion-text-4 p {
    text-align: center;
    color: #4f4f4f;
    margin-bottom: 22px;
    line-height: 1.6;
}
.fusion-text-4 strong span {
    letter-spacing: 3px;
    display: inline-block;
    margin-bottom: 4px;
    font-size: 13px;
    color: #4f4f4f;
}
.fusion-text-4 a {
    color: #4f4f4f;
    text-decoration: none;
}

/* ===== Right Column - Form ===== */
.fusion_builder_column_2_3 {
    flex: 0 0 66.6666%;
    max-width: 50.6666%;
}
.contact-home-para {
    color: #4f4f4f;
    line-height: 1.6;
    margin-bottom: 30px;
/*     max-width: 700px; */
}

/* ===== Contact Form 7 - Grid Layout ===== */
.contact-form-section-home .wpcf7-form {
    max-width: 950px;
}

/* Row = 2 column grid (works regardless of wrapping tag: p/span/div) */
.contact-form-section-home .cf7-row p {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
     padding-bottom: 15px !important;
}
.contact-form-section-home .cf7-row p br
 {
    display: none;
}
.contact-form-section-home .cf7-row p,
.contact-form-section-home .cf7-row > * {
    margin: 0 !important;
    min-width: 0;
}
.contact-form-section-home .cf7-row .wpcf7-form-control-wrap {
    display: block;
    width: 100%;
}

/* Fields outside .cf7-row (e.g. textarea) */
.contact-form-section-home .wpcf7-form > p {
    margin: 0 0 15px;
}

/* Input & Textarea base styling */
.contact-form-section-home input[type="text"],
.contact-form-section-home input[type="email"],
.contact-form-section-home input[type="tel"],
.contact-form-section-home textarea {
    width: 100%;
    padding: 14px 18px;
    border: 1px solid #e0e0e0;
    border-radius: 3px;
    font-size: 15px;
    color: #333;
    background: #fff;
    box-sizing: border-box;
    font-family: inherit;
}
.contact-form-section-home input::placeholder,
.contact-form-section-home textarea::placeholder {
    color: #8a8a8a;
}
.contact-form-section-home textarea {
    min-height: 140px;
    resize: vertical;
    margin-top: 0;
}

/* ===== CF7 Acceptance Checkbox ===== */
.contact-form-section-home .wpcf7-acceptance-wrap {
    margin: 22px 0 25px;
}
.contact-form-section-home .wpcf7-acceptance {
    display: block;
}
.contact-form-section-home .wpcf7-list-item {
    margin: 0;
    display: flex;
    align-items: flex-start;
    gap: 10px;
}
.contact-form-section-home .wpcf7-list-item-label {
    color: #4f4f4f;
    font-size: 14.5px;
    line-height: 1.6;
}
.contact-form-section-home input[type="checkbox"] {
    width: 16px;
    height: 16px;
    margin-top: 4px;
    flex-shrink: 0;
    cursor: pointer;
    accent-color: #1a3a63;
}
.contact-form-section-home .wpcf7-list-item-label a {
    color: #407cbf;
    text-decoration: underline;
}
.contact-form-section-home .wpcf7-list-item-label a:hover {
    color: #1a3a63;
}

/* ===== CF7 Submit Button ===== */
.contact-form-section-home input[type="submit"] {
    background: #02467a;
    color: #fff;
    border: none;
    padding: 15px 42px;
    font-weight: 600;
    font-size: 14px;
    letter-spacing: 1px;
    text-transform: uppercase;
    cursor: pointer;
    border-radius: 2px;
    margin-top: 10px;
}
.contact-form-section-home input[type="submit"]:hover {
    background: #02467a;
	color: #000000d1;
}
.contact-form-section-home input[type="submit"]:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

/* ===== CF7 Validation & Response Messages ===== */
.contact-form-section-home .wpcf7-not-valid-tip {
    color: #d9534f;
    font-size: 13px;
    margin-top: 5px;
    display: block;
}
.contact-form-section-home .wpcf7-response-output {
    margin-top: 20px;
    padding: 12px 16px;
    border-radius: 3px;
    font-size: 14px;
}
.contact-form-section-home form.sent .wpcf7-response-output {
    border-color: #46b450;
    color: #2a7d34;
}
.contact-form-section-home form.invalid .wpcf7-response-output,
.contact-form-section-home form.unaccepted .wpcf7-response-output {
    border-color: #d9534f;
    color: #d9534f;
}

/* ===== Map Scroll/Zoom Lock ===== */
.contact-map-wrap {
    position: relative;
}
.contact-map-wrap iframe {
    pointer-events: none;
}
.contact-map-wrap.active iframe {
    pointer-events: auto;
}
.contact-map-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.15);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    text-align: center;
    padding: 10px;
    transition: opacity 0.2s ease;
}
.contact-map-wrap.active .contact-map-overlay {
    opacity: 0;
    pointer-events: none;
}
/* ===== Responsive ===== */
@media(max-width: 800px){
    .fusion_builder_column_1_3,
    .fusion_builder_column_2_3 {
        flex: 0 0 100%;
        max-width: 100%;
    }
}
@media(max-width: 600px){
    .contact-form-section-home .cf7-row {
        grid-template-columns: 1fr;
    }
}
