/* =========================================
   IUNIXX – USP SECTION
   Vergleich KI-Chat / IUNIXX-Botsystem
   Desktop / Tablet / Mobile
========================================= */


/* =========================================
   1. SECTION
========================================= */

.usp-section {
    --usp-blue: #1499FE;
    --usp-green: #99FE14;
    --usp-navy: #071725;
    --usp-muted: #52677D;

    width: 100%;
    padding: 100px 0 110px;
    overflow: hidden;

    background: #FFFFFF;
    color: var(--usp-navy);
}


/* =========================================
   2. HAUPTCONTAINER
========================================= */

.usp-container {
    width: calc(100% - 48px);
    max-width: 1320px;
    margin: 0 auto;
    padding: 0;

    background: transparent;
    border-radius: 0;
}


/* =========================================
   3. HEADER
========================================= */

.usp-header {
    margin-bottom: 32px;
}

.usp-eyebrow {
    display: block;
    margin-bottom: 16px;

    color: var(--usp-blue);
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.usp-title {
    margin: 0;

    color: var(--usp-navy);
    font-size: clamp(2.8rem, 5vw, 5rem);
    font-weight: 700;
    line-height: 1.08;
    letter-spacing: -0.045em;
    text-wrap: balance;
}

.usp-title span {
    display: block;
    margin-top: 8px;
    color: var(--usp-blue);
}

.usp-description {
    max-width: 1100px;
    margin: 18px 0 0;

    color: var(--usp-muted);
    font-size: 1.1rem;
    line-height: 1.65;
}


/* =========================================
   4. VERGLEICHSKARTEN
========================================= */

.usp-comparison {
    display: grid;
    grid-template-columns:
        minmax(0, 1fr)
        minmax(0, 2fr);

    gap: 16px;
    align-items: stretch;
}

.usp-card {
    display: flex;
    flex-direction: column;

    min-width: 0;
    min-height: 430px;
    padding: 24px;

    background: #FFFFFF;
    border: 2px solid #E5EAF0;
    border-radius: 24px;
}

.usp-card--chat {
    border-color: #E5EAF0;
}

.usp-card--iunixx {
    border: 3px solid var(--usp-green);
}

.usp-card-label {
    margin: 0;

    color: #64748B;
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 0.025em;
    text-transform: uppercase;
}

.usp-card--iunixx .usp-card-label {
    color: var(--usp-navy);
    font-weight: 700;
}


/* =========================================
   5. GRAFIKBEREICH
========================================= */

.usp-card-visual {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    flex: 1;
    min-width: 0;
    gap: 16px;
    padding: 28px 0;
}

.usp-icon-box {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 88px;
    height: 88px;
    border-radius: 20px;
}

.usp-icon-box svg {
    width: 42px;
    height: 42px;

    stroke: currentColor;
    stroke-width: 2;
    fill: none;
}

.usp-icon-box--chat {
    background: #EAF0F6;
    color: #64748B;
}


/* =========================================
   6. PFEILE ZWISCHEN BOT UND MODELLEN
========================================= */

.usp-arrows {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;

    color: #94A3B8;
}

.usp-arrows svg {
    display: block;
    width: 20px;
    height: 20px;

    stroke: currentColor;
    stroke-width: 2;
    fill: none;
}

.usp-card--iunixx .usp-arrows {
    color: #69B500;
}


/* =========================================
   7. KI-MODELL-KACHELN
========================================= */

.usp-models {
    display: grid;
    grid-template-columns:
        repeat(5, minmax(0, 1fr));

    gap: 8px;
    width: 100%;
}

.usp-model {
    display: flex;
    align-items: center;
    justify-content: center;

    min-width: 0;
    min-height: 44px;
    padding: 10px 5px;

    background: #EAF4FF;
    border-radius: 12px;

    color: #0755BD;
    font-size: 0.85rem;
    font-weight: 700;
    text-align: center;
}

.usp-single-model {
    width: 100%;
    padding: 13px 16px;

    background: #EAF0F6;
    border-radius: 12px;

    color: #475569;
    font-size: 1rem;
    font-weight: 500;
    text-align: center;
}


/* =========================================
   8. WISSEN, DATENSCHUTZ, PROZESSE
========================================= */

.usp-capabilities {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 18px;
}

.usp-capabilities svg {
    display: block;
    width: 22px;
    height: 22px;

    color: #69B500;
    stroke: currentColor;
    stroke-width: 1.8;
    fill: none;
}


/* =========================================
   9. KARTENBESCHREIBUNGEN
========================================= */

.usp-card-description {
    margin: auto 0 0;
    padding-top: 20px;

    color: var(--usp-muted);
    font-size: 0.98rem;
    line-height: 1.6;
}


/* =========================================
   10. ABSCHLUSS-STATEMENT
========================================= */

.usp-statement {
    margin-top: 45px;
    padding: 0;

    background: transparent;
    border: none;
    border-radius: 0;
    box-shadow: none;

    text-align: center;
}

.usp-statement-title {
    margin: 0;

    color: var(--usp-navy);
    font-size: clamp(1.4rem, 2.3vw, 2rem);
    font-weight: 700;
    line-height: 1.3;
}

.usp-statement-highlight {
    display: block;
    margin-top: 10px;
    color: var(--usp-blue);
}


/* =========================================
   11. INTEGRATIONEN
========================================= */

.usp-integrations {
    display: grid;
    grid-template-columns:
        repeat(4, minmax(0, 1fr));

    gap: 8px;
    width: 100%;
}

.usp-integration {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;

    min-width: 0;
    padding: 12px 5px;

    background: #EAF4FF;
    border-radius: 12px;

    color: #0755BD;
    font-size: 0.8rem;
    font-weight: 700;
    text-align: center;
}

.usp-integration-icon {
    display: flex;
    align-items: center;
    justify-content: center;
}

.usp-integration-icon svg {
    display: block;
    width: 25px;
    height: 25px;

    stroke: currentColor;
    stroke-width: 1.8;
    fill: none;
    stroke-linecap: round;
    stroke-linejoin: round;
}


/* =========================================
   12. SVG-VERBINDUNGSPFEILE ZUM BOT

   Vier Pfeile:
   rechts unten / unten / unten / links unten

   Feste Größen verhindern SVG-Überlauf.
========================================= */

.usp-card--iunixx .usp-integration-arrows {
    display: grid;
    grid-template-columns:
        repeat(4, minmax(0, 1fr));

    align-items: center;
    justify-items: center;

    width: 100%;
    height: 32px;
    min-height: 32px;

    margin: 0;
    padding: 0;
    overflow: hidden;

    color: #69B500;
}

.usp-card--iunixx .usp-integration-arrows > svg {
    display: block;

    width: 22px !important;
    height: 22px !important;

    min-width: 0;
    min-height: 0;
    max-width: 22px;
    max-height: 22px;

    margin: 0;
    padding: 0;

    color: inherit;
    stroke: currentColor;
    stroke-width: 2;
    fill: none;

    flex: none;
}


/* =========================================
   13. IUNIXX-BOT
========================================= */

.usp-icon-box--bot {
    flex-direction: column;
    gap: 3px;

    width: 100px;
    height: 110px;
    padding: 10px 8px;

    background: var(--usp-green);
    color: var(--usp-navy);

    animation: iunixxBotPulse 3s ease-in-out infinite;
    transform-origin: center center;
}

.usp-bot-name {
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.05em;
    line-height: 1;
}

.usp-bot-type {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.14em;
    line-height: 1;
}

.usp-icon-box--bot svg {
    width: 38px;
    height: 38px;
    flex-shrink: 0;
}


/* =========================================
   14. BOT-PULSIEREN
========================================= */

@keyframes iunixxBotPulse {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.08);
    }

}


/* =========================================
   15. ZUSÄTZLICHER ABSCHLUSSSATZ
========================================= */

.usp-choice {
    margin: 40px auto 0;
    max-width: 1000px;
    text-align: center;
}

.usp-choice p {
    margin: 0;

    color: #071725;
    font-size: clamp(1.15rem, 2vw, 1.55rem);
    font-weight: 600;
    line-height: 1.5;
}


/* =========================================
   16. TABLET
========================================= */

@media (max-width: 900px) {

    .usp-section {
        padding: 55px 0;
    }

    .usp-container {
        padding: 28px;
        border-radius: 28px;
    }

    .usp-comparison {
        grid-template-columns: 1fr;
    }

    .usp-card {
        min-height: 360px;
    }

    .usp-title {
        font-size: clamp(2rem, 5vw, 3rem);
    }

}


/* =========================================
   17. MOBILE
========================================= */

@media (max-width: 768px) {

    .usp-container {
        width: calc(100% - 32px);
        padding: 0;
        border-radius: 0;
    }

    .usp-title {
        font-size: clamp(2.2rem, 8vw, 3.2rem);
        line-height: 1.12;
        letter-spacing: -0.035em;
    }

    .usp-title span {
        margin-top: 6px;
    }

    .usp-description {
        font-size: 1rem;
    }

    .usp-card {
        min-height: 340px;
        padding: 20px 16px;
        border-radius: 20px;
    }

    .usp-card-visual {
        padding: 24px 0;
    }

    .usp-icon-box {
        width: 76px;
        height: 76px;
    }

    .usp-icon-box svg {
        width: 36px;
        height: 36px;
    }

    .usp-models {
        grid-template-columns:
            repeat(3, minmax(0, 1fr));
        gap: 7px;
    }

    .usp-model {
        font-size: 0.8rem;
    }

    .usp-statement {
        padding: 0;
        background: transparent;
        border: none;
        border-radius: 0;
        box-shadow: none;
    }

    /* Integrationen */

    .usp-integrations {
        gap: 6px;
    }

    .usp-integration {
        padding: 10px 3px;
        font-size: 0.7rem;
    }

    .usp-integration-icon svg {
        width: 21px;
        height: 21px;
    }

    /* Verbindungspfeile */

    .usp-card--iunixx .usp-integration-arrows {
        height: 28px;
        min-height: 28px;
    }

    .usp-card--iunixx .usp-integration-arrows > svg {
        width: 18px !important;
        height: 18px !important;

        max-width: 18px;
        max-height: 18px;
    }

    /* Bot */

    .usp-icon-box--bot {
        width: 88px;
        height: 100px;
    }

    .usp-icon-box--bot svg {
        width: 38px;
        height: 38px;
    }

    /* Abschlusssatz */

    .usp-choice {
        margin-top: 30px;
    }

    .usp-choice p {
        font-size: 1.1rem;
    }

}


/* =========================================
   18. KLEINE SMARTPHONES
========================================= */

@media (max-width: 380px) {

    .usp-container {
        width: calc(100% - 24px);
        padding: 0;
    }

    .usp-card {
        padding: 18px 12px;
    }

    .usp-model {
        font-size: 0.75rem;
    }

    .usp-integration {
        padding: 8px 2px;
        font-size: 0.65rem;
    }

}


/* =========================================
   19. BARRIEREFREIHEIT
========================================= */

@media (prefers-reduced-motion: reduce) {

    .usp-icon-box--bot {
        animation: none;
    }

}

/* =========================================
   IUNIXX – NEURONALES BOT-NETZWERK
   Bidirektionale Lichtimpulse
========================================= */

/* Positionierungsfläche */

.usp-card--iunixx .usp-card-visual {
    position: relative;
    isolation: isolate;
}

/* SVG-Verbindungen hinter den Kacheln */

.usp-card--iunixx .usp-network-layer {
    position: absolute;
    inset: 0;

    display: block;
    width: 100%;
    height: 100%;

    z-index: 1;
    overflow: visible;
    pointer-events: none;
}

/* Kacheln und Bot vor die Linien setzen */

.usp-card--iunixx .usp-integrations,
.usp-card--iunixx .usp-models,
.usp-card--iunixx .usp-icon-box--bot,
.usp-card--iunixx .usp-capabilities {
    position: relative;
    z-index: 2;
}

/* Alte Pfeile unsichtbar machen.
   Ihre Abstände bleiben erhalten. */

.usp-card--iunixx .usp-integration-arrows > svg,
.usp-card--iunixx .usp-arrows > svg {
    visibility: hidden;
}

/* Dünne permanente Nervenbahnen */

.usp-network-path {
    fill: none;
    stroke: #1499FE;
    stroke-width: 1.8;
    stroke-opacity: 0.32;
    stroke-linecap: round;
    vector-effect: non-scaling-stroke;
}

/* Impuls: Kachel zum Bot */

.usp-network-pulse--blue {
    fill: #1499FE;
    filter:
        drop-shadow(0 0 4px #1499FE)
        drop-shadow(0 0 8px #1499FE);
}

/* Impuls: Bot zur Kachel */

.usp-network-pulse--green {
    fill: #99FE14;
    filter:
        drop-shadow(0 0 4px #99FE14)
        drop-shadow(0 0 9px #99FE14);
}

/* Empfangende Funktions- und Modellkacheln */

.usp-card--iunixx .usp-integration,
.usp-card--iunixx .usp-model {
    transition:
        background-color 0.25s ease,
        color 0.25s ease,
        box-shadow 0.25s ease;
}

.usp-card--iunixx .usp-integration.is-network-hit,
.usp-card--iunixx .usp-model.is-network-hit {
    background: #99FE14;
    color: #071725;

    box-shadow:
        0 0 14px rgba(153, 254, 20, 0.55),
        0 0 26px rgba(153, 254, 20, 0.22);
}

/* Bot reagiert beim Eintreffen */

.usp-card--iunixx .usp-icon-box--bot.is-network-hit {
    box-shadow:
        0 0 0 5px rgba(20, 153, 254, 0.12),
        0 0 20px rgba(20, 153, 254, 0.5),
        0 0 36px rgba(153, 254, 20, 0.3);
}

/* Barrierefreiheit */

@media (prefers-reduced-motion: reduce) {

    .usp-network-pulse {
        display: none;
    }

    .usp-card--iunixx .usp-integration,
    .usp-card--iunixx .usp-model {
        transition: none;
    }
}
