/* =========================================
   CONTACT PAGE STYLES
   ========================================= */

.contact-hero {
    min-height: 40vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: 100px;
    background: var(--color-bg-dark);
}

.hero-title {
    font-size: clamp(3rem, 6vw, 4.5rem);
    line-height: 1.1;
    font-weight: 800;
}

.container-wide {
    max-width: 1500px;
    margin: 0 auto;
    padding: 0 20px;
}

/* --- LAYOUT: Formular Links, Kontakte Rechts --- */
.contact-layout {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: 40px;
    align-items: start;
}

/* =========================================
   DAS FORMULAR (LINKS)
   ========================================= */
.contact-form-container {
    padding: 50px;
    background: rgba(30, 41, 59, 0.3);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 24px;
    border-top: 4px solid var(--color-tech-blue);
}

.form-group {
    margin-bottom: 25px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

label {
    display: block;
    margin-bottom: 8px;
    font-size: 0.9rem;
    color: #cbd5e1;
    font-weight: 500;
}

input,
select,
textarea {
    width: 100%;
    padding: 16px;
    background: rgba(15, 23, 42, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    color: #fff;
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    transition: all 0.3s ease;
}

input:focus,
select:focus,
textarea:focus {
    outline: none;
    border-color: var(--color-tech-blue);
    background: rgba(15, 23, 42, 0.9);
    box-shadow: 0 0 0 4px rgba(88, 166, 255, 0.1);
}

input::placeholder,
textarea::placeholder {
    color: #64748b;
}

select {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml;charset=US-ASCII,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%22292.4%22%20height%3D%22292.4%22%3E%3Cpath%20fill%3D%22%2394a3b8%22%20d%3D%22M287%2069.4a17.6%2017.6%200%200%200-13-5.4H18.4c-5%200-9.3%201.8-12.9%205.4A17.6%2017.6%200%200%200%200%2082.2c0%205%201.8%209.3%205.4%2012.9l128%20127.9c3.6%203.6%207.8%205.4%2012.8%205.4s9.2-1.8%2012.8-5.4L287%2095c3.5-3.5%205.4-7.8%205.4-12.8%200-5-1.9-9.2-5.5-12.8z%22%2F%3E%3C%2Fsvg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem top 50%;
    background-size: 0.65rem auto;
}

select option {
    background: #0f172a;
    color: #fff;
}

.w-100 {
    width: 100%;
}

/* =========================================
   KONTAKTDATEN (RECHTE SEITE)
   ========================================= */
.info-card.glass-card {
    padding: 40px;
    background: rgba(30, 41, 59, 0.3);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
}

.highlight-card {
    border-top: 4px solid var(--color-energy-orange) !important;
}

.info-list {
    margin-top: 20px;
}

.info-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 20px;
}

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

.info-item .icon {
    font-size: 1.5rem;
    line-height: 1;
}

.info-item p {
    color: #cbd5e1;
    margin: 0;
    line-height: 1.5;
}

.info-item a {
    color: #fff;
    text-decoration: none;
    transition: color 0.3s ease;
}

.info-item a:hover {
    color: var(--color-energy-orange);
}

.section-mini-title {
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* --- LUCKY TEAM GROUP LOGOS --- */
.group-contacts-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.mini-contact-card {
    padding: 20px 15px;
    background: rgba(30, 41, 59, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    transition: transform 0.3s ease, border-color 0.3s ease;
    text-decoration: none;
    color: inherit;
    cursor: pointer;
}

.mini-contact-card:hover {
    transform: translateY(-3px);
    border-color: rgba(255, 255, 255, 0.2);
    text-decoration: none;
    color: inherit;
}

.partner-mini-logo {
    height: 40px;
    width: auto;
    max-width: 90%;
    object-fit: contain;
    margin-bottom: 12px;
    filter: drop-shadow(0 4px 6px rgba(0,0,0,0.3));
}

.mini-contact-card p {
    color: var(--color-tech-blue);
    font-size: 0.85rem;
    margin: 0;
    font-weight: 500;
}

/* --- UNSERE KUNDEN --- */
.customer-contacts-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 15px;
}

.customer-contact-card {
    min-height: 210px;
    padding: 22px 16px;
    background: rgba(30, 41, 59, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 14px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    justify-content: flex-start;
    transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
    text-decoration: none;
    color: inherit;
    cursor: pointer;
}

.customer-contact-card:hover {
    transform: translateY(-4px);
    border-color: rgba(230, 81, 0, 0.35);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
    text-decoration: none;
    color: inherit;
}

.customer-mini-logo-box {
    width: 100%;
    min-height: 64px;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
}

.customer-mini-logo-box-light {
    background: rgba(255, 255, 255, 0.96);
    border: 1px solid rgba(255, 255, 255, 0.75);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.18);
    padding: 8px 12px;
}

.customer-mini-logo {
    height: 46px;
    width: auto;
    max-width: 92%;
    object-fit: contain;
    filter: drop-shadow(0 4px 6px rgba(0,0,0,0.3));
}

.mini-contact-name {
    display: block;
    color: #ffffff;
    font-size: 0.9rem;
    font-weight: 700;
    margin-bottom: 6px;
    line-height: 1.35;
}

.mini-contact-subline {
    display: block;
    color: #94a3b8;
    font-size: 0.78rem;
    line-height: 1.4;
    margin-bottom: 10px;
    min-height: 34px;
}

.customer-contact-card p {
    color: #cbd5e1;
    font-size: 0.83rem;
    margin: 0;
    font-weight: 500;
    word-break: break-word;
}

/* --- FRONIUS / TECHNOLOGIE --- */
.tech-logo-card.glass-card {
    padding: 30px 24px;
    background: rgba(30, 41, 59, 0.3);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 18px;
}

.tech-logo-card-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    text-decoration: none;
    color: inherit;
    transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.tech-logo-card-link:hover {
    transform: translateY(-4px);
    border-color: rgba(230, 81, 0, 0.35);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
    text-decoration: none;
    color: inherit;
}

.tech-logo-wrap {
    margin: 10px auto 16px;
    padding: 18px 24px;
    background: rgba(255,255,255,0.97);
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: min(100%, 320px);
    min-height: 120px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.18);
}

.tech-logo {
    max-width: 200px;
    width: 100%;
    height: auto;
    object-fit: contain;
}

.tech-logo-title {
    margin: 0 0 8px 0;
    color: #ffffff;
    font-size: 1.5rem;
    font-weight: 700;
    line-height: 1.25;
}

.tech-logo-text {
    margin: 0;
    color: #94a3b8;
    font-size: 0.95rem;
    font-weight: 500;
    line-height: 1.5;
}

.tech-mailto-note {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-top: 16px;
    padding: 0.85rem 1.3rem;
    border-radius: 999px;
    background: rgba(230, 81, 0, 0.14);
    border: 1px solid rgba(230, 81, 0, 0.35);
    color: #ffffff;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    word-break: break-word;
    transition: all 0.3s ease;
}

.tech-logo-card-link:hover .tech-mailto-note {
    background: rgba(230, 81, 0, 0.22);
    border-color: rgba(230, 81, 0, 0.55);
}

/* --- RESPONSIVITÄT --- */
@media (max-width: 1100px) {
    .contact-layout {
        grid-template-columns: 1fr;
    }
    
    .contact-form-container {
        order: 2;
    }
    
    .contact-info-container {
        order: 1;
    }
}

@media (max-width: 700px) {
    .customer-contacts-grid {
        grid-template-columns: 1fr;
    }

    .tech-logo-title {
        font-size: 1.3rem;
    }
}

@media (max-width: 600px) {
    .form-row,
    .group-contacts-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-form-container {
        padding: 30px 20px;
    }

    .tech-logo-wrap {
        min-width: auto;
        width: 100%;
        padding: 16px 18px;
    }

    .tech-logo {
        max-width: 170px;
    }
}