/* ==========================================================
   firma.css – Profil-spezifische Styles für firma.php
   Ergänzt /add/styles.css (welches bereits .timeline, .card,
   .excerpt-*, .cta-*, .btn-toggle, .data-row, .content-container,
   .grid-*, .badge, .badge-* etc. enthält).
   ========================================================== */

/* Profil-Einstieg (schlichter Header statt Banner-Hero) */
.company-intro {
    background: linear-gradient(180deg, #fdfcff 0%, #f8fafc 100%);
    border-bottom: 1px solid #f1f5f9;
}

.company-intro-container {
    max-width: 80rem;
    margin: 0 auto;
    padding: 1.5rem 1.5rem 0;
}

.company-profile-card {
    position: relative;
    overflow: hidden;
    border-radius: 1.5rem;
    border: 1px solid #e2e8f0;
    background-color: white;
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
}

.company-profile-topline {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    border-bottom: 1px solid #f1f5f9;
    padding: 1.25rem 1.25rem 1rem;
}

.company-profile-badges {
    margin-bottom: 0;
}

.company-profile-source {
    font-size: 0.75rem;
    font-weight: 600;
    color: #64748b;
}

.company-profile-grid {
    padding: 1.25rem;
}

.company-profile-main {
    min-width: 0;
}

.company-profile-label {
    margin-bottom: 0.65rem;
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: #7e22ce;
}

.company-profile-title {
    max-width: 58rem;
    font-size: clamp(2rem, 6vw, 4rem);
    font-weight: 900;
    letter-spacing: -0.055em;
    line-height: 0.98;
    color: #020617;
}

@media (min-width: 640px) {
    .company-intro-container {
        padding: 2rem 1.5rem 0;
    }

    .company-profile-topline {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        padding: 1.5rem 1.5rem 1.125rem;
    }

    .company-profile-grid {
        padding: 1.5rem;
    }
}

@media (min-width: 1024px) {
    .company-intro-container {
        padding-left: 2rem;
        padding-right: 2rem;
    }

    .company-profile-grid {
        padding: 2rem;
    }
}

/* ==========================================================
   Ähnliche Unternehmen ("Das könnte Sie auch interessieren")
   ========================================================== */

.related-companies-section {
    padding: 2.5rem 0;
    background-color: #f8fafc;
    border-top: 1px solid #e2e8f0;
}

.related-companies-header {
    margin-bottom: 1.5rem;
    text-align: center;
}

.related-companies-title {
    margin: 0 0 0.5rem;
    font-size: 1.5rem;
    font-weight: 800;
    color: #0f172a;
}

.related-companies-subtitle {
    margin: 0;
    font-size: 0.95rem;
    color: #64748b;
}

.related-companies-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
}

.related-company-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1.25rem;
    border: 1px solid #e2e8f0;
    border-radius: 1rem;
    background-color: white;
    text-decoration: none;
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    transition: box-shadow 0.2s ease, transform 0.2s ease, border-color 0.2s ease;
}

.related-company-card:hover {
    border-color: #c4b5fd;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.08);
    transform: translateY(-2px);
}

.related-company-content {
    min-width: 0;
}

.related-company-content .badge {
    margin-bottom: 0.75rem;
}

.related-company-name {
    margin: 0 0 0.35rem;
    font-size: 1.125rem;
    font-weight: 700;
    color: #0f172a;
    line-height: 1.3;
}

.related-company-location {
    margin: 0;
    font-size: 0.875rem;
    color: #64748b;
}

.related-company-arrow {
    flex-shrink: 0;
    font-size: 1.5rem;
    color: #7e22ce;
}

@media (min-width: 640px) {
    .related-companies-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .related-companies-section {
        padding: 3rem 0;
    }
}