/* ===================================================================
   AERONA SPACE – WIE HIER MIT KI GEARBEITET WIRD

   Eine Erklärseite, kein Produkt. Sie soll Vertrauen durch Offenheit
   herstellen, nicht durch Gestaltung – deshalb bewusst ruhig: viel
   Weißraum, lange Lesezeilen, keine Bewegung, keine Effekte, die von
   den Sätzen ablenken.

   Eigener Akzent in Türkis. Er unterscheidet den Bereich vom blauen
   Rest der Seite und vom violetten Office-Bereich, ohne laut zu sein.

   Zwei Farben tragen eine Bedeutung und dürfen nicht getauscht
   werden: Türkis steht für die Maschine, Bernstein für den Menschen.
   Diese Zuordnung wiederholt sich in den Säulen und bei den Fehlern.
   =================================================================== */

.ki-main {
    padding: 7rem 0 6rem;
    overflow-x: clip;
}

.ki-bahn {
    max-width: 980px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* ---------- Bühne ---------- */

.ki-buehne {
    position: relative;
    padding-bottom: 3.5rem;
    margin-bottom: 4.5rem;
    border-bottom: 1px solid rgba(148, 163, 184, .15);
}

/* Weicher Schein hinter der Überschrift, rein dekorativ. Bleibt
   innerhalb der Seitenbreite – ragte er hinaus, würde die Seite auf
   schmalen Bildschirmen waagerecht rollen. */
.ki-buehne::before {
    content: "";
    position: absolute;
    top: -120px;
    left: 10%;
    width: 420px;
    max-width: 70%;
    height: 320px;
    background: radial-gradient(circle, rgba(45, 212, 191, .13), transparent 68%);
    pointer-events: none;
    z-index: 0;
}

.ki-buehne > * {
    position: relative;
    z-index: 1;
}

.ki-schild {
    display: inline-block;
    padding: .38rem .95rem;
    border: 1px solid rgba(45, 212, 191, .35);
    border-radius: 999px;
    background: rgba(45, 212, 191, .08);
    color: #5eead4;
    font-size: .78rem;
    font-weight: 600;
    letter-spacing: .09em;
    text-transform: uppercase;
}

.ki-titel {
    margin: 1.5rem 0 1.6rem;
    font-size: clamp(2.1rem, 5.2vw, 3.5rem);
    line-height: 1.12;
    letter-spacing: -.02em;
    color: #f1f5f9;
}

.ki-anriss {
    max-width: 68ch;
    margin-bottom: 1.1rem;
    font-size: 1.08rem;
    line-height: 1.75;
    color: rgba(203, 213, 225, .88);
}

.ki-anriss em {
    color: #99f6e4;
    font-style: italic;
}

.ki-buehne-zahlen {
    display: flex;
    flex-wrap: wrap;
    gap: 2.6rem;
    margin-top: 2.6rem;
}

.ki-zahl {
    display: flex;
    flex-direction: column;
    gap: .3rem;
}

.ki-zahl strong {
    font-size: 2.3rem;
    font-weight: 700;
    line-height: 1;
    color: #5eead4;
}

.ki-zahl span {
    max-width: 22ch;
    font-size: .87rem;
    line-height: 1.5;
    color: rgba(148, 163, 184, .9);
}

/* ---------- Abschnitte ---------- */

.ki-abschnitt {
    margin-bottom: 5.5rem;
}

.ki-kopf {
    margin-bottom: 2.4rem;
}

.ki-nummer {
    display: block;
    margin-bottom: .7rem;
    font-size: .76rem;
    font-weight: 700;
    letter-spacing: .16em;
    text-transform: uppercase;
    color: rgba(94, 234, 212, .8);
}

.ki-kopf h2 {
    margin: 0 0 .9rem;
    font-size: clamp(1.6rem, 3.4vw, 2.2rem);
    line-height: 1.2;
    letter-spacing: -.015em;
    color: #f1f5f9;
}

.ki-kopf-text,
.ki-text {
    max-width: 66ch;
    font-size: 1rem;
    line-height: 1.78;
    color: rgba(203, 213, 225, .82);
}

.ki-text {
    margin-bottom: 1.3rem;
}

/* ---------- Die Rechnung (warum überhaupt) ---------- */

.ki-rechnung {
    margin: 2rem 0 2.2rem;
    border-left: 2px solid rgba(45, 212, 191, .35);
}

.ki-rechnung-zeile {
    display: flex;
    flex-wrap: wrap;
    gap: .5rem 1.5rem;
    justify-content: space-between;
    padding: .95rem 0 .95rem 1.4rem;
    border-bottom: 1px solid rgba(148, 163, 184, .1);
}

.ki-rechnung-zeile:last-child {
    border-bottom: 0;
}

.ki-rechnung-was {
    flex: 1 1 22rem;
    color: rgba(226, 232, 240, .9);
    font-size: .97rem;
}

.ki-rechnung-wer {
    flex: 0 1 auto;
    color: rgba(94, 234, 212, .85);
    font-size: .9rem;
    font-weight: 600;
    white-space: nowrap;
}

/* ---------- Zwei Säulen: Maschine und Mensch ---------- */

.ki-saeulen {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(19rem, 1fr));
    gap: 1.4rem;
}

.ki-saeule {
    padding: 1.8rem 1.7rem;
    border: 1px solid rgba(148, 163, 184, .16);
    border-radius: 16px;
    background: rgba(15, 23, 42, .5);
}

/* Türkis für die Maschine, Bernstein für den Menschen – die Farben
   tragen hier Bedeutung und wiederholen sich weiter unten. */
.ki-saeule--maschine { border-top: 3px solid rgba(45, 212, 191, .7); }
.ki-saeule--mensch   { border-top: 3px solid rgba(251, 191, 36, .7); }

.ki-saeule-kopf {
    display: flex;
    align-items: center;
    gap: .7rem;
    margin-bottom: 1.2rem;
}

.ki-saeule-zeichen {
    font-size: 1.15rem;
    line-height: 1;
}

.ki-saeule--maschine .ki-saeule-zeichen { color: #5eead4; }
.ki-saeule--mensch   .ki-saeule-zeichen { color: #fbbf24; }

.ki-saeule h3 {
    margin: 0;
    font-size: 1.12rem;
    color: #f1f5f9;
}

.ki-saeule ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.ki-saeule li {
    position: relative;
    padding: .6rem 0 .6rem 1.25rem;
    font-size: .95rem;
    line-height: 1.62;
    color: rgba(203, 213, 225, .84);
    border-bottom: 1px solid rgba(148, 163, 184, .08);
}

.ki-saeule li:last-child { border-bottom: 0; }

.ki-saeule li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 1.13rem;
    width: 5px;
    height: 5px;
    border-radius: 50%;
}

.ki-saeule--maschine li::before { background: rgba(45, 212, 191, .75); }
.ki-saeule--mensch   li::before { background: rgba(251, 191, 36, .75); }

/* ---------- Merksatz ---------- */

.ki-merksatz {
    max-width: 62ch;
    margin: 2.2rem 0 0;
    padding: 1.15rem 1.4rem;
    border-left: 3px solid rgba(45, 212, 191, .6);
    border-radius: 0 10px 10px 0;
    background: rgba(45, 212, 191, .06);
    font-size: 1rem;
    line-height: 1.7;
    color: rgba(226, 232, 240, .92);
}

/* ---------- Die sechs Schritte ---------- */

.ki-schritte {
    margin: 0;
    padding: 0;
    list-style: none;
    counter-reset: none;
}

.ki-schritt {
    position: relative;
    display: flex;
    gap: 1.3rem;
    padding: 0 0 2rem 0;
}

/* Die Linie verbindet die Schritte. Beim letzten fällt sie weg,
   sonst liefe sie ins Leere. */
.ki-schritt::before {
    content: "";
    position: absolute;
    left: 1.05rem;
    top: 2.4rem;
    bottom: 0;
    width: 1px;
    background: rgba(148, 163, 184, .2);
}

.ki-schritt:last-child::before { display: none; }

.ki-schritt-nr {
    flex: 0 0 auto;
    display: grid;
    place-items: center;
    width: 2.1rem;
    height: 2.1rem;
    border: 1px solid rgba(148, 163, 184, .3);
    border-radius: 50%;
    background: #0b1220;
    font-size: .88rem;
    font-weight: 700;
    color: rgba(203, 213, 225, .9);
    z-index: 1;
}

/* Die drei Prüfschritte sind hervorgehoben: Sie sind der Kern der
   Aussage – die Arbeit besteht überwiegend aus Prüfen. */
.ki-schritt--pruefung .ki-schritt-nr {
    border-color: rgba(45, 212, 191, .6);
    background: rgba(45, 212, 191, .12);
    color: #5eead4;
}

.ki-schritt h3 {
    margin: .25rem 0 .5rem;
    font-size: 1.05rem;
    color: #e2e8f0;
}

.ki-schritt p {
    max-width: 62ch;
    margin: 0;
    font-size: .95rem;
    line-height: 1.7;
    color: rgba(203, 213, 225, .78);
}

/* ---------- Gefundene Fehler ---------- */

.ki-fehler-gitter {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(17.5rem, 1fr));
    gap: 1.3rem;
}

.ki-fehler {
    display: flex;
    flex-direction: column;
    padding: 1.6rem 1.5rem;
    border: 1px solid rgba(148, 163, 184, .16);
    border-radius: 16px;
    background: rgba(15, 23, 42, .5);
}

.ki-fehler-marke {
    align-self: flex-start;
    margin-bottom: .9rem;
    padding: .28rem .7rem;
    border-radius: 999px;
    background: rgba(45, 212, 191, .12);
    color: #5eead4;
    font-size: .72rem;
    font-weight: 600;
    letter-spacing: .04em;
}

/* Der vom Menschen gefundene Fehler trägt die Menschen-Farbe – die
   Zuordnung aus den Säulen gilt weiter. */
.ki-fehler--mensch .ki-fehler-marke {
    background: rgba(251, 191, 36, .13);
    color: #fbbf24;
}

.ki-fehler h3 {
    margin: 0 0 .7rem;
    font-size: 1.05rem;
    line-height: 1.35;
    color: #f1f5f9;
}

.ki-fehler p {
    margin: 0;
    font-size: .93rem;
    line-height: 1.68;
    color: rgba(203, 213, 225, .78);
}

.ki-fehler code {
    padding: .1rem .3rem;
    border-radius: 4px;
    background: rgba(148, 163, 184, .14);
    font-size: .88em;
    color: #cbd5e1;
}

.ki-fehler-folge {
    margin-top: auto !important;
    padding-top: .95rem;
    color: rgba(148, 163, 184, .8) !important;
    font-size: .87rem !important;
}

/* ---------- Grenzen ---------- */

.ki-grenzen {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(20rem, 1fr));
    gap: 1.1rem 2rem;
}

.ki-grenze {
    display: flex;
    gap: .9rem;
    padding: 1.1rem 0;
}

.ki-grenze-zeichen {
    flex: 0 0 auto;
    display: grid;
    place-items: center;
    width: 1.6rem;
    height: 1.6rem;
    margin-top: .1rem;
    border-radius: 50%;
    background: rgba(248, 113, 113, .13);
    color: #f87171;
    font-size: .8rem;
}

.ki-grenze h3 {
    margin: 0 0 .4rem;
    font-size: 1rem;
    color: #e2e8f0;
}

.ki-grenze p {
    max-width: 46ch;
    margin: 0;
    font-size: .92rem;
    line-height: 1.68;
    color: rgba(203, 213, 225, .76);
}

/* ---------- Sorgen ---------- */

.ki-sorgen {
    display: flex;
    flex-direction: column;
    gap: 1.1rem;
}

.ki-sorge {
    padding: 1.5rem 1.6rem;
    border: 1px solid rgba(148, 163, 184, .14);
    border-left: 3px solid rgba(251, 191, 36, .5);
    border-radius: 0 14px 14px 0;
    background: rgba(15, 23, 42, .45);
}

.ki-sorge-frage {
    margin: 0 0 .65rem;
    font-size: 1.06rem;
    line-height: 1.4;
    color: #fcd34d;
}

.ki-sorge p {
    max-width: 68ch;
    margin: 0;
    font-size: .96rem;
    line-height: 1.75;
    color: rgba(203, 213, 225, .84);
}

.ki-sorge em {
    color: #99f6e4;
    font-style: italic;
}

/* ---------- Ergebnis ---------- */

.ki-ergebnis-gitter {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(15.5rem, 1fr));
    gap: 1.2rem;
    margin: 2rem 0 2.6rem;
}

.ki-ergebnis {
    display: flex;
    flex-direction: column;
    gap: .5rem;
    padding: 1.4rem 1.35rem;
    border: 1px solid rgba(45, 212, 191, .2);
    border-radius: 14px;
    background: rgba(45, 212, 191, .05);
}

.ki-ergebnis strong {
    font-size: 1.02rem;
    color: #5eead4;
}

.ki-ergebnis span {
    font-size: .9rem;
    line-height: 1.62;
    color: rgba(203, 213, 225, .8);
}

.ki-schluss {
    max-width: 66ch;
    padding: 1.8rem 0 0;
    border-top: 1px solid rgba(148, 163, 184, .15);
}

.ki-schluss p {
    margin: 0 0 1rem;
    font-size: 1.02rem;
    line-height: 1.78;
    color: rgba(226, 232, 240, .88);
}

.ki-schluss p:last-child { margin-bottom: 0; }

.ki-schluss em {
    color: #99f6e4;
    font-style: italic;
}

/* ---------- Schmale Bildschirme ---------- */

@media (max-width: 720px) {
    .ki-main { padding-top: 5.5rem; }
    .ki-buehne-zahlen { gap: 1.6rem 2rem; }
    .ki-zahl strong { font-size: 1.9rem; }
    .ki-abschnitt { margin-bottom: 4rem; }
    .ki-rechnung-wer { white-space: normal; }
    .ki-saeule, .ki-fehler { padding: 1.4rem 1.25rem; }
    .ki-sorge { padding: 1.25rem 1.3rem; }
}
