/* ========================================================================
   SMG CONTACT CTA WIDGET
   Call-to-Action Formulare und Kontakt-Bereiche
   ======================================================================== */

.smg-contact-widget {
    padding: 8rem 0;
    position: relative;
    overflow: hidden;
    min-height: 600px;
}

.smg-contact-widget-bg-gradient {
    background: linear-gradient(135deg, #1e293b 0%, #dc2626 50%, #1f2937 100%);
}

.smg-contact-widget-bg-image {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.smg-contact-widget-bg-color {
    /* Background color applied via inline styles */
}

.smg-contact-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.4);
    z-index: 1;
}

.smg-contact-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
    position: relative;
    z-index: 2;
}

.smg-contact-header {
    text-align: center;
    margin-bottom: 4rem;
    color: white;
}

.smg-contact-title {
    /* Use unified title system from common.css */
    font-family: var(--font-secondary);
    font-size: clamp(2.5rem, 6vw, 4rem);
    font-weight: 900;
    margin-bottom: var(--smg-space-lg);
    line-height: 1.2;
    letter-spacing: -0.02em;
    background: var(--smg-gradient-brand-alt);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.smg-contact-subtitle {
    /* Use unified subtitle system from common.css */
    font-size: var(--smg-text-xl);
    line-height: 1.6;
    max-width: 700px;
    margin: 0 auto;
    color: var(--smg-text-dark-secondary);
    font-weight: 400;
}

.smg-contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    margin-bottom: 4rem;
}

.smg-contact-info {
    color: white;
}

.smg-contact-info-inner {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    border-radius: 24px;
    padding: 3rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.smg-contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    margin-bottom: 2.5rem;
}

.smg-contact-item:last-child {
    margin-bottom: 0;
}

.smg-contact-icon {
    width: 60px;
    height: 60px;
    background: var(--primary-red);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    flex-shrink: 0;
    box-shadow: 0 8px 24px rgba(220, 38, 38, 0.4);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.smg-contact-item:hover .smg-contact-icon {
    transform: scale(1.1);
    box-shadow: 0 12px 32px rgba(220, 38, 38, 0.5);
}

.smg-contact-text {
    flex: 1;
    font-size: 1.1rem;
    line-height: 1.6;
    padding-top: 0.5rem;
}

.smg-contact-text a {
    color: inherit;
    text-decoration: none;
    transition: all 0.3s ease;
}

.smg-contact-text a:hover {
    color: var(--accent-blue);
    text-shadow: 0 0 8px rgba(59, 130, 246, 0.5);
}

.smg-contact-form {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border-radius: 24px;
    padding: 3rem;
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.smg-contact-form-wrapper {
    /* Styles for Contact Form 7 integration */
}

.smg-default-contact-form {
    /* Styles for default form */
}

.smg-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.smg-form-group {
    margin-bottom: 1.5rem;
}

.smg-form-group input,
.smg-form-group textarea,
.smg-form-group select {
    width: 100%;
    padding: 1rem 1.5rem;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    font-size: 1rem;
    background: white;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    font-family: inherit;
}

.smg-form-group input:focus,
.smg-form-group textarea:focus,
.smg-form-group select:focus {
    outline: none;
    border-color: var(--primary-red);
    box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.1);
    transform: translateY(-2px);
}

.smg-form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.smg-checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    cursor: pointer;
    font-size: 0.95rem;
    line-height: 1.5;
}

.smg-checkbox-label input[type="checkbox"] {
    width: auto;
    margin: 0;
    transform: scale(1.2);
}

.smg-checkbox-text a {
    color: var(--primary-red);
    text-decoration: none;
    font-weight: 600;
}

.smg-checkbox-text a:hover {
    text-decoration: underline;
}

.smg-contact-cta {
    display: flex;
    gap: 2rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* RESPONSIVE STYLES
   ======================================================================== */

@media (max-width: 768px) {
    .smg-contact-widget {
        padding: 4rem 0;
    }

    .smg-contact-container {
        padding: 0 1rem;
    }

    .smg-contact-content {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .smg-contact-info-inner,
    .smg-contact-form {
        padding: 2rem;
    }

    .smg-form-row {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
}

@media (max-width: 480px) {
    .smg-contact-info-inner,
    .smg-contact-form {
        padding: 1.5rem;
        border-radius: 16px;
    }

    .smg-contact-icon {
        width: 50px;
        height: 50px;
        font-size: 1.25rem;
    }

    .smg-contact-text {
        font-size: 1rem;
    }

    .smg-contact-cta {
        flex-direction: column;
        gap: 1rem;
    }
} 