/* ===================================================================
   AERONA SPACE – ZAHLEN, ZEITSTRAHL, ARBEITSWEISE
   Gemeinsames Modul für numbers.html, timeline.html und rules.html.
   Drei kleine Seiten, ein Stylesheet – spart drei fast gleiche Dateien.
   =================================================================== */
.ex-main {
    max-width: 900px;
    margin: 0 auto;
    padding: 7rem 1.5rem 6rem;
}
.ex-hero {
    text-align: center;
    margin-bottom: 4rem;
}

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

.ex-hero h1 .ex-accent {
    background: linear-gradient(135deg, #60a5fa 0%, #a855f7 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.ex-hero p {
    max-width: 600px;
    margin: 0 auto;
    color: #94a3b8;
    font-size: 1.08rem;
    line-height: 1.85;
}
/* ---------- Zahlen (numbers.html) ---------- */

.ex-counts {
    display: grid;
    /* 260px statt 230px: "2.422.981" braucht Platz, und die Zeilenzahl
       wächst mit jedem Arbeitstag weiter. */
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1rem;
    margin-bottom: 2rem;
}

.ex-count {
    text-align: center;
    padding: 2.2rem 1.4rem;
    background: rgba(15, 23, 42, 0.5);
    border: 1px solid rgba(148, 163, 184, 0.15);
    border-radius: 18px;
}

.ex-count__value {
    /* Obergrenze bewusst niedrig: bei 48px lief schon "2.422.981" über den
       Kartenrand. Seit die Wörterbuch-Zahl mit 152.224.620 elf Zeichen hat,
       muss auch die in die schmalste Spalte (260px) passen – und die Zahlen
       wachsen mit jedem Arbeitstag weiter. */
    font-size: clamp(1.45rem, 3.5vw, 1.95rem);
    font-weight: 800;
    line-height: 1;
    margin-bottom: 0.6rem;
    white-space: nowrap;
    font-variant-numeric: tabular-nums;
    background: linear-gradient(135deg, #60a5fa 0%, #22c55e 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.ex-count__label {
    color: #e2e8f0;
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 0.35rem;
}

.ex-count__note {
    color: #64748b;
    font-size: 0.85rem;
    line-height: 1.6;
}
/* ---------- Zeitstrahl (timeline.html) ---------- */

.ex-time {
    position: relative;
    padding-left: 2.2rem;
}

.ex-time::before {
    content: "";
    position: absolute;
    left: 6px;
    top: 8px;
    bottom: 8px;
    width: 2px;
    background: linear-gradient(180deg,
            rgba(148, 163, 184, 0.2) 0%,
            rgba(59, 130, 246, 0.55) 100%);
}

.ex-step {
    position: relative;
    padding-bottom: 2.4rem;
}

.ex-step:last-child {
    padding-bottom: 0;
}

.ex-step::before {
    content: "";
    position: absolute;
    left: -2.2rem;
    top: 0.4rem;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: #0f172a;
    border: 2px solid rgba(148, 163, 184, 0.45);
}

.ex-step--gross::before {
    border-color: #3b82f6;
    box-shadow: 0 0 12px rgba(59, 130, 246, 0.6);
}

.ex-step__date {
    color: #64748b;
    font-size: 0.83rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    margin-bottom: 0.4rem;
}

.ex-step h3 {
    color: white;
    font-size: 1.15rem;
    font-weight: 700;
    line-height: 1.4;
    margin-bottom: 0.45rem;
}

.ex-step p {
    color: #94a3b8;
    font-size: 0.96rem;
    line-height: 1.8;
}
/* ---------- Arbeitsweise (rules.html) ---------- */

.ex-rules {
    display: grid;
    gap: 0.7rem;
}

.ex-rule {
    display: grid;
    grid-template-columns: 42px 1fr;
    gap: 1.1rem;
    align-items: start;
    padding: 1.3rem 1.4rem;
    background: rgba(255, 255, 255, 0.025);
    border: 1px solid rgba(148, 163, 184, 0.13);
    border-radius: 14px;
    transition: background 0.25s ease, border-color 0.25s ease;
}

.ex-rule:hover {
    background: rgba(59, 130, 246, 0.07);
    border-color: rgba(59, 130, 246, 0.26);
}

.ex-rule__nr {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border-radius: 10px;
    background: rgba(59, 130, 246, 0.14);
    color: #93c5fd;
    font-size: 0.9rem;
    font-weight: 800;
}

.ex-rule h3 {
    color: #f1f5f9;
    font-size: 1.03rem;
    font-weight: 700;
    margin-bottom: 0.3rem;
}

.ex-rule p {
    color: #94a3b8;
    font-size: 0.93rem;
    line-height: 1.8;
}
/* ---------- Gemeinsame Bausteine ---------- */

.ex-note {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
    padding: 1.2rem 1.4rem;
    margin-top: 2.5rem;
    background: rgba(59, 130, 246, 0.06);
    border: 1px solid rgba(59, 130, 246, 0.18);
    border-radius: 13px;
    color: #94a3b8;
    font-size: 0.93rem;
    line-height: 1.8;
}

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

.ex-note a {
    color: #93c5fd;
    font-weight: 600;
    text-decoration: none;
}

.ex-note a:hover {
    text-decoration: underline;
}

.ex-section-title {
    color: white;
    font-size: 1.3rem;
    font-weight: 700;
    margin: 3.5rem 0 1.2rem;
    padding-bottom: 0.7rem;
    border-bottom: 1px solid rgba(148, 163, 184, 0.13);
}
/* ---------- Mobil ---------- */

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

    .ex-counts {
        grid-template-columns: 1fr;
    }

    .ex-time {
        padding-left: 1.7rem;
    }

    .ex-step::before {
        left: -1.7rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    .ex-count__value {
        transition: none;
    }
}
