/* Individuelle Software – Leistungsseite (Entwurf) */

.software-hero {
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.92) 0%, rgba(0, 166, 251, 0.12) 45%, rgba(240, 58, 112, 0.12) 100%);
    position: relative;
    overflow: hidden;
    min-height: 420px;
    padding: 2.5rem 2rem 3rem;
}

.software-hero .hero-text {
    max-width: 520px;
}

.software-title {
    font-size: clamp(1.75rem, 4vw, 2.75rem);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
}

.software-subtitle {
    font-size: 1.15rem;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 0.75rem;
}

.software-description {
    color: rgba(255, 255, 255, 0.65);
    font-size: 0.95rem;
    line-height: 1.65;
    margin-bottom: 1.5rem;
}

.software-hero-layout {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: 2rem;
    align-items: center;
}

@media (max-width: 991px) {
    .software-hero-layout {
        grid-template-columns: 1fr;
    }
}

/* Dashboard-Mockup im Browser */
.dashboard-mockup {
    background: rgba(15, 25, 35, 0.95);
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
    overflow: hidden;
    font-size: 0.72rem;
}

.dashboard-mockup-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.65rem 1rem;
    background: rgba(0, 0, 0, 0.35);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.dashboard-mockup-header span {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.7rem;
}

.dashboard-mockup-body {
    display: grid;
    grid-template-columns: 140px 1fr;
    min-height: 260px;
}

.dashboard-sidebar {
    padding: 1rem 0.75rem;
    border-right: 1px solid rgba(255, 255, 255, 0.06);
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.dashboard-nav-item {
    padding: 0.45rem 0.65rem;
    border-radius: 8px;
    color: rgba(255, 255, 255, 0.55);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.dashboard-nav-item.active {
    background: linear-gradient(90deg, rgba(240, 58, 112, 0.25), rgba(0, 166, 251, 0.15));
    color: #fff;
}

.dashboard-nav-item i {
    width: 14px;
    color: var(--primary-pink, #f03a70);
}

.dashboard-main {
    padding: 1rem 1.25rem;
}

.dashboard-kpis {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.65rem;
    margin-bottom: 1rem;
}

.dashboard-kpi {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 10px;
    padding: 0.65rem;
}

.dashboard-kpi strong {
    display: block;
    color: #fff;
    font-size: 1rem;
}

.dashboard-kpi small {
    color: rgba(255, 255, 255, 0.45);
}

.dashboard-chart {
    height: 90px;
    border-radius: 10px;
    background: linear-gradient(180deg, rgba(0, 166, 251, 0.15) 0%, transparent 100%);
    border: 1px solid rgba(0, 166, 251, 0.2);
    position: relative;
    overflow: hidden;
}

.dashboard-chart::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 60%;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 400 80' preserveAspectRatio='none'%3E%3Cpath fill='rgba(240,58,112,0.35)' d='M0 60 L50 45 L120 55 L180 25 L240 40 L320 15 L400 30 L400 80 L0 80 Z'/%3E%3Cpath fill='none' stroke='rgba(0,166,251,0.8)' stroke-width='2' d='M0 60 L50 45 L120 55 L180 25 L240 40 L320 15 L400 30'/%3E%3C/svg%3E") center bottom / 100% 100% no-repeat;
}

@media (max-width: 575px) {
    .dashboard-mockup-body {
        grid-template-columns: 1fr;
    }
    .dashboard-sidebar {
        flex-direction: row;
        flex-wrap: wrap;
        border-right: none;
        border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    }
    .dashboard-kpis {
        grid-template-columns: 1fr;
    }
}

/* Bild-Platzhalter */
.media-placeholder {
    aspect-ratio: 16 / 10;
    border-radius: 20px;
    background: linear-gradient(145deg, rgba(240, 58, 112, 0.08), rgba(0, 166, 251, 0.12));
    border: 1px dashed rgba(255, 255, 255, 0.18);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    padding: 2rem;
    text-align: center;
    color: rgba(255, 255, 255, 0.45);
    min-height: 280px;
}

.media-placeholder i {
    font-size: 2.5rem;
    color: rgba(240, 58, 112, 0.6);
}

.media-placeholder span {
    font-size: 0.85rem;
    max-width: 260px;
}

/* Seite: durchgehend pechschwarz wie Impact/CRM/Rechnungen */
.page-individuelle-software {
    background-color: #000000;
}

.page-individuelle-software .technologies-section {
    background: #000000;
}

/* Use-Case-Karten – gleiches Section-Layout wie functions-section */
section.functions-section.software-use-cases {
    background: #000000;
    padding: 0;
    min-height: 100vh;
    display: flex;
    align-items: center;
}

section.functions-section.software-use-cases > .container {
    width: 100%;
    padding-top: 4rem;
    padding-bottom: 4rem;
}

/* Referenz-Kunden */
section.functions-section.software-clients {
    background: #000000;
    padding: 0;
    min-height: auto;
    display: flex;
    align-items: center;
}

section.functions-section.software-clients > .container {
    width: 100%;
    padding-top: 5rem;
    padding-bottom: 5rem;
}

.software-clients-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 1.25rem;
    margin-top: 2.5rem;
}

@media (max-width: 1199px) {
    .software-clients-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 767px) {
    .software-clients-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
}

@media (max-width: 479px) {
    .software-clients-grid {
        grid-template-columns: 1fr;
    }
}

.software-client-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 1.75rem 1.25rem 1.5rem;
    min-height: 200px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    transition: border-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
}

.software-client-card:hover {
    border-color: rgba(240, 58, 112, 0.35);
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.35);
}

.software-client-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 88px;
    margin-bottom: 1.15rem;
    padding: 0.65rem 0.75rem;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.06);
}

.software-client-logo img {
    max-width: 100%;
    max-height: 72px;
    width: auto;
    height: auto;
    object-fit: contain;
    opacity: 0.95;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.software-client-card:hover .software-client-logo img {
    opacity: 1;
    transform: scale(1.03);
}

/* Helle Logos auf dunklem Grund */
.software-client-logo img.logo-on-dark {
    filter: brightness(0) invert(1);
}

.software-client-name {
    color: #fff;
    font-size: 0.95rem;
    font-weight: 600;
    line-height: 1.35;
    margin: 0;
}

.software-client-card--text {
    background: linear-gradient(145deg, rgba(240, 58, 112, 0.08), rgba(0, 166, 251, 0.1));
    border-color: rgba(255, 255, 255, 0.12);
}

.software-client-text-mark {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.software-client-text-mark i {
    font-size: 1.35rem;
    color: var(--primary-pink, #f03a70);
}

.software-client-name--stacked {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}

.client-text-main {
    font-size: 1rem;
    font-weight: 600;
    color: #fff;
    line-height: 1.3;
}

.client-text-sub {
    font-size: 0.82rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.55);
    letter-spacing: 0.02em;
}

.use-case-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.25rem;
    margin-top: 2.5rem;
}

.use-case-card {
    padding: 1.75rem 1.5rem;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    transition: border-color 0.3s ease, transform 0.3s ease;
    height: 100%;
}

.use-case-card:hover {
    border-color: rgba(240, 58, 112, 0.35);
    transform: translateY(-4px);
}

.use-case-card i {
    font-size: 1.75rem;
    color: var(--primary-pink, #f03a70);
    margin-bottom: 1rem;
}

.use-case-card h4 {
    color: #fff;
    font-size: 1.1rem;
    margin-bottom: 0.65rem;
}

.use-case-card p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
    margin: 0;
    line-height: 1.55;
}

.integration-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 1.25rem;
}

.integration-tag {
    font-size: 0.78rem;
    padding: 0.35rem 0.75rem;
    border-radius: 999px;
    background: rgba(0, 166, 251, 0.12);
    border: 1px solid rgba(0, 166, 251, 0.25);
    color: rgba(255, 255, 255, 0.75);
}

.preview-notice {
    position: fixed;
    bottom: 88px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 999;
    background: rgba(5, 25, 35, 0.95);
    border: 1px solid rgba(240, 58, 112, 0.4);
    color: rgba(255, 255, 255, 0.85);
    padding: 0.5rem 1rem;
    border-radius: 999px;
    font-size: 0.75rem;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
    pointer-events: none;
}

@media (min-width: 992px) {
    .preview-notice {
        bottom: 1.25rem;
    }
}
