/* ===================================================================
   AERONA SPACE – DAS .aero-FORMAT
   Wird direkt in aero-format.html eingebunden.

   Die Seite beschreibt das eigene App-Format – sie ist bewusst KEIN
   Angebot an fremde Entwickler. Aerona wird nur von Aerona entwickelt.
   =================================================================== */

.dev-main {
    max-width: 900px;
    margin: 0 auto;
    padding: 7rem 1.5rem 6rem;
}

/* ---------- Kopfbereich ---------- */

.dev-hero {
    text-align: center;
    margin-bottom: 4rem;
}

.dev-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
    font-size: 0.85rem;
    font-weight: 700;
    color: #fdba74;
    background: rgba(249, 115, 22, 0.1);
    border: 1px solid rgba(249, 115, 22, 0.25);
    padding: 0.4rem 0.95rem;
    border-radius: 8px;
    margin-bottom: 1.6rem;
}

.dev-hero h1 {
    font-size: clamp(2.4rem, 6vw, 3.8rem);
    font-weight: 800;
    line-height: 1.12;
    color: white;
    margin-bottom: 1.2rem;
}

.dev-hero p {
    max-width: 600px;
    margin: 0 auto;
    color: #94a3b8;
    font-size: 1.08rem;
    line-height: 1.8;
}

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

.dev-block {
    margin-bottom: 3.5rem;
}

.dev-block h2 {
    color: white;
    font-size: 1.45rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.dev-block > p {
    color: #94a3b8;
    font-size: 1rem;
    line-height: 1.85;
    margin-bottom: 1.3rem;
}

.dev-block code {
    font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
    font-size: 0.88em;
    color: #fdba74;
    background: rgba(249, 115, 22, 0.09);
    padding: 2px 6px;
    border-radius: 5px;
}

/* ---------- Code-Kasten ---------- */

.dev-code {
    position: relative;
    background: rgba(2, 6, 23, 0.75);
    border: 1px solid rgba(148, 163, 184, 0.16);
    border-radius: 14px;
    overflow: hidden;
}

.dev-code__head {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.65rem 1.1rem;
    background: rgba(148, 163, 184, 0.06);
    border-bottom: 1px solid rgba(148, 163, 184, 0.13);
    color: #64748b;
    font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
    font-size: 0.78rem;
    font-weight: 600;
}

.dev-code pre {
    margin: 0;
    padding: 1.2rem;
    overflow-x: auto;
}

.dev-code code {
    display: block;
    background: none;
    padding: 0;
    color: #cbd5e1;
    font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
    font-size: 0.85rem;
    line-height: 1.75;
    white-space: pre;
}

.dev-code .k { color: #93c5fd; }   /* Schlüssel */
.dev-code .s { color: #86efac; }   /* Zeichenkette */
.dev-code .c { color: #64748b; }   /* Kommentar */

/* ---------- Feldtabelle ---------- */

.dev-fields {
    display: grid;
    gap: 0.55rem;
}

.dev-field {
    display: grid;
    grid-template-columns: minmax(120px, 170px) 1fr;
    gap: 1rem;
    align-items: start;
    padding: 0.85rem 1.1rem;
    background: rgba(255, 255, 255, 0.025);
    border: 1px solid rgba(148, 163, 184, 0.12);
    border-radius: 11px;
}

.dev-field__name {
    font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
    font-size: 0.86rem;
    font-weight: 700;
    color: #fdba74;
}

.dev-field__desc {
    color: #94a3b8;
    font-size: 0.9rem;
    line-height: 1.65;
}

.dev-field--opt .dev-field__name {
    color: #94a3b8;
}

/* ---------- Sicherheitspunkte ---------- */

.dev-sec {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 0.75rem;
}

.dev-sec__item {
    padding: 1.2rem 1.3rem;
    background: rgba(34, 197, 94, 0.05);
    border: 1px solid rgba(34, 197, 94, 0.16);
    border-radius: 13px;
}

.dev-sec__item strong {
    display: block;
    color: #e2e8f0;
    font-size: 0.96rem;
    font-weight: 700;
    margin-bottom: 0.3rem;
}

.dev-sec__item span {
    color: #94a3b8;
    font-size: 0.88rem;
    line-height: 1.7;
}

/* ---------- Hinweiskasten ---------- */

.dev-note {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
    padding: 1.3rem 1.5rem;
    background: rgba(59, 130, 246, 0.07);
    border: 1px solid rgba(59, 130, 246, 0.2);
    border-radius: 14px;
    color: #cbd5e1;
    font-size: 0.95rem;
    line-height: 1.75;
}

.dev-note i {
    color: #60a5fa;
    font-size: 1.05rem;
    margin-top: 0.25rem;
    flex-shrink: 0;
}

/* ---------- Ausblick ---------- */

.dev-next {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.dev-next span {
    font-size: 0.85rem;
    font-weight: 600;
    color: #cbd5e1;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(148, 163, 184, 0.16);
    padding: 5px 12px;
    border-radius: 8px;
}

/* ---------- Mobil ---------- */

@media (max-width: 768px) {
    .dev-main {
        padding: 5.5rem 1.1rem 4rem;
    }

    .dev-field {
        grid-template-columns: 1fr;
        gap: 0.3rem;
    }

    .dev-code code {
        font-size: 0.78rem;
    }
}

/* ===================================================================
   KLARSTELLUNG: GESCHLOSSENES ÖKOSYSTEM
   Steht bewusst weit oben – die Seite beschreibt das Format, sie lädt
   nicht zum Mitmachen ein. Aerona wird nur von Aerona entwickelt.
   =================================================================== */

.dev-closed {
    display: flex;
    gap: 1.1rem;
    align-items: flex-start;
    margin-bottom: 3.5rem;
    padding: 1.5rem 1.7rem;
    background: rgba(249, 115, 22, 0.07);
    border: 1px solid rgba(249, 115, 22, 0.24);
    border-left: 3px solid #f97316;
    border-radius: 14px;
}

.dev-closed i {
    color: #fdba74;
    font-size: 1.1rem;
    margin-top: 0.3rem;
    flex-shrink: 0;
}

.dev-closed strong {
    display: block;
    color: #fdba74;
    font-size: 1.02rem;
    font-weight: 700;
    margin-bottom: 0.45rem;
}

.dev-closed span {
    color: #cbd5e1;
    font-size: 0.95rem;
    line-height: 1.8;
}

@media (max-width: 768px) {
    .dev-closed {
        padding: 1.2rem 1.2rem;
        margin-bottom: 2.5rem;
    }
}
