/* contact.css - Modern Kontakt page */

/* ========================================
   PAGE HEADER
   ======================================== */
.contact-header {
    width: 100%;
    background: #53575C;
    padding: 4.5rem 3rem 3.5rem 3rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.contact-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60%;
    height: 100%;
    background: radial-gradient(ellipse at center, rgba(132, 31, 50, 0.22), transparent 70%);
    pointer-events: none;
}

.contact-header-inner {
    position: relative;
    z-index: 2;
    max-width: 900px;
    margin: 0 auto;
}

.contact-tag {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 4px;
    color: #9D9FA2;
    margin-bottom: 0.9rem;
}

.contact-title {
    font-size: clamp(2.4rem, 6vw, 4rem);
    font-weight: 800;
    color: #FFFFFF;
    letter-spacing: 0.08em;
    line-height: 1;
}

.contact-title-line {
    width: 60px;
    height: 3px;
    background: #841F32;
    margin: 1.5rem auto 0 auto;
}

/* ========================================
   CONTACT FORM
   ======================================== */
.contact-body {
    width: 100%;
    background: #f5f5f5;
    padding: 5rem 3rem 3rem 3rem;
}

.contact-container {
    max-width: 900px;
    margin: 0 auto;
}

.contact-intro {
    color: #53575C;
    font-size: 1rem;
    line-height: 1.75;
    margin-bottom: 2.5rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid #e5e7eb;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.8rem;
}

.contact-field {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.contact-field label {
    font-size: 0.88rem;
    font-weight: 600;
    color: #53575C;
    letter-spacing: 0.2px;
}

.contact-field .req {
    color: #841F32;
    font-weight: 700;
}

.contact-field input[type="text"],
.contact-field input[type="email"],
.contact-field textarea {
    width: 100%;
    padding: 0.9rem 1.1rem;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    font-family: 'Inter', sans-serif;
    font-size: 0.95rem;
    color: #53575C;
    background: #FFFFFF;
    transition: all 0.2s ease;
}

.contact-field input:focus,
.contact-field textarea:focus {
    outline: none;
    border-color: #841F32;
    box-shadow: 0 0 0 3px rgba(132, 31, 50, 0.1);
}

.contact-field textarea {
    resize: vertical;
    min-height: 140px;
    font-family: 'Inter', sans-serif;
}

/* Honeypot — visually hidden */
.contact-honeypot {
    position: absolute;
    left: -9999px;
    opacity: 0;
    pointer-events: none;
}

.contact-submit {
    background: #841F32;
    color: #FFFFFF;
    border: none;
    padding: 1rem 3rem;
    border-radius: 60px;
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    font-size: 0.95rem;
    letter-spacing: 0.5px;
    cursor: pointer;
    transition: all 0.25s ease;
    box-shadow: 0 12px 28px -10px rgba(132, 31, 50, 0.4);
    align-self: flex-start;
}

.contact-submit:hover {
    background: #53575C;
    box-shadow: 0 12px 28px -10px rgba(83, 87, 92, 0.4);
    transform: translateY(-2px);
}

.contact-submit:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
}

/* ========================================
   OTHER INFORMATION
   ======================================== */
.contact-info-section {
    width: 100%;
    background: #FFFFFF;
    padding: 5rem 3rem 4rem 3rem;
}

.contact-info-inner {
    max-width: 1100px;
    margin: 0 auto;
}

.contact-info-title {
    font-size: clamp(1.6rem, 3vw, 2.2rem);
    font-weight: 700;
    color: #53575C;
    letter-spacing: -0.02em;
    margin-bottom: 0.8rem;
}

.contact-info-line {
    width: 65px;
    height: 4px;
    background: #841F32;
    margin-bottom: 3rem;
}

.contact-info-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 3rem;
}

.contact-info-col h3 {
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    color: #841F32;
    margin-bottom: 1.2rem;
}

.contact-info-col p {
    font-size: 1rem;
    line-height: 1.8;
    color: #53575C;
}

.contact-info-col a {
    color: #53575C;
    text-decoration: none;
    transition: color 0.2s ease;
    border-bottom: 1px solid transparent;
}

.contact-info-col a:hover {
    color: #841F32;
    border-bottom-color: #841F32;
}

/* ========================================
   GOOGLE MAP
   ======================================== */
.contact-map-section {
    width: 100%;
    background: #f5f5f5;
    padding: 0;
    position: relative;
}

.contact-map-wrap {
    width: 100%;
    height: 480px;
    position: relative;
    overflow: hidden;
}

.contact-map {
    width: 100%;
    height: 100%;
    border: 0;
    display: block;
    filter: grayscale(20%) contrast(1.02);
}
/* ========================================
   AJAX CONTACT FORM NOTICES
   ======================================== */
.contact-notice {
    display: flex;
    align-items: flex-start;
    gap: 0.9rem;
    padding: 1rem 1.3rem;
    border-radius: 8px;
    margin-bottom: 2rem;
    font-size: 0.95rem;
    line-height: 1.6;
    animation: contactNoticeIn 0.3s ease;
}

@keyframes contactNoticeIn {
    from { opacity: 0; transform: translateY(-6px); }
    to   { opacity: 1; transform: translateY(0); }
}

.contact-notice i {
    font-size: 1.1rem;
    flex-shrink: 0;
    margin-top: 0.15rem;
}

.contact-notice-success {
    background: #e8f5ec;
    border-left: 4px solid #2d7a3f;
    color: #2d7a3f;
}

.contact-notice-error {
    background: #fbeaea;
    border-left: 4px solid #841F32;
    color: #841F32;
}
/* ========================================
   AJAX CONTACT FORM NOTICES
   ======================================== */
.contact-notice {
    display: flex;
    align-items: flex-start;
    gap: 0.9rem;
    padding: 1rem 1.3rem;
    border-radius: 8px;
    margin-bottom: 2rem;
    font-size: 0.95rem;
    line-height: 1.6;
    animation: contactNoticeIn 0.3s ease;
}

@keyframes contactNoticeIn {
    from { opacity: 0; transform: translateY(-6px); }
    to   { opacity: 1; transform: translateY(0); }
}

.contact-notice i {
    font-size: 1.1rem;
    flex-shrink: 0;
    margin-top: 0.15rem;
}

.contact-notice-success {
    background: #e8f5ec;
    border-left: 4px solid #2d7a3f;
    color: #2d7a3f;
}

.contact-notice-error {
    background: #fbeaea;
    border-left: 4px solid #841F32;
    color: #841F32;
}
/* ========================================
   RESPONSIVE
   ======================================== */
@media (max-width: 900px) {
    .contact-info-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

@media (max-width: 700px) {
    .contact-header {
        padding: 3.5rem 1.5rem 2.8rem 1.5rem;
    }

    .contact-body {
        padding: 3.5rem 1.5rem 2rem 1.5rem;
    }

    .contact-info-section {
        padding: 3.5rem 1.5rem 3rem 1.5rem;
    }

    .contact-submit {
        width: 100%;
        justify-content: center;
    }

    .contact-map-wrap {
        height: 360px;
    }
}

@media (max-width: 480px) {
    .contact-title {
        font-size: 2.2rem;
        letter-spacing: 0.05em;
    }

    .contact-intro {
        font-size: 0.92rem;
    }

    .contact-field input[type="text"],
    .contact-field input[type="email"],
    .contact-field textarea {
        padding: 0.8rem 0.95rem;
        font-size: 0.9rem;
    }

    .contact-map-wrap {
        height: 300px;
    }
}