/* =========================================================
   Glossar-Seite
   ========================================================= */

.glossar-category {
    margin-top: 48px;
}

.glossar-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;

    margin-top: 26px;
}

.glossar-entry {
    padding: 20px 22px;

    border: 1px solid rgba(74, 163, 255, 0.16);
    border-radius: 16px;

    background: rgba(74, 163, 255, 0.04);
}

.glossar-entry h3 {
    margin: 0 0 10px;

    color: var(--text);
    font-size: 1.08rem;
    font-weight: 900;
    line-height: 1.25;
}

.glossar-entry-short {
    margin: 0 0 12px;

    color: #dce8ff;
    font-size: 0.98rem;
    font-weight: 750;
    line-height: 1.55;
}

.glossar-entry p {
    margin: 0;

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


/* =========================================================
   Glossar - Fahrzeugrollen
   ========================================================= */

.role-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;

    margin-top: 26px;
}

.role-card {
    padding: 20px 22px;

    border: 1px solid rgba(74, 163, 255, 0.18);
    border-radius: 16px;

    background: rgba(74, 163, 255, 0.045);
}

.role-card h3 {
    margin: 0 0 10px;

    color: var(--text);
    font-size: 1.1rem;
    font-weight: 900;
    line-height: 1.25;
}

.role-short {
    margin: 0 0 12px;

    color: #dce8ff;
    font-size: 0.98rem;
    font-weight: 750;
    line-height: 1.5;
}

.role-card p {
    margin: 0;

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

.role-badge {
    display: inline-flex;
    align-items: center;

    margin-top: 14px;
    padding: 5px 10px;

    border: 1px solid rgba(74, 163, 255, 0.24);
    border-radius: 999px;

    color: var(--accent);
    background: rgba(74, 163, 255, 0.08);

    font-size: 0.72rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.role-badge.is-special {
    color: #b7e47d;
    border-color: rgba(160, 220, 90, 0.28);
    background: rgba(160, 220, 90, 0.08);
}

.role-badge.is-disabled {
    color: #ffb36e;
    border-color: rgba(255, 170, 90, 0.28);
    background: rgba(255, 170, 90, 0.08);
}

/* =========================================================
   Glossar - Abschnittstitel
   ========================================================= */

.glossar-category h2 {
    display: inline-flex;
    align-items: center;
    position: relative;

    margin: 0 0 28px;
    padding: 9px 16px 9px 18px;

    color: #ffffff;

    background:
        linear-gradient(
            90deg,
            rgba(74, 163, 255, 0.26),
            rgba(74, 163, 255, 0.08),
            rgba(74, 163, 255, 0.00)
        );

    border-left: 5px solid rgba(74, 163, 255, 0.9);
    border-radius: 8px;

    font-size: 1.45rem;
    font-weight: 950;
    line-height: 1.15;
    letter-spacing: 0.015em;

    text-shadow: 0 0 16px rgba(74, 163, 255, 0.22);
}

.glossar-category h2::before {
    content: "";

    position: absolute;
    left: 0;
    top: -14px;

    width: 1000px;
    height: 2px;

    background: rgba(74, 163, 255, 0.65);
    border-radius: 999px;
}

/* =========================================================
   Glossar - Mobile
   ========================================================= */

@media (max-width: 900px) {
    .role-grid {
        grid-template-columns: 1fr;
    }

    .glossar-entry,
    .role-card {
        padding: 20px;
    }

    .glossar-category h2::before {
        width: min(320px, 100%);
    }
}