/* Referenzliste — Zeilen, die beim Hovern einrücken */

.ref-row {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 1.5rem;
    padding-block: 1.9rem;
    border-bottom: 1px solid var(--hairline);
    text-decoration: none;
    position: relative;
    transition: padding-left .25s ease;
}

.ref-row:first-of-type {
    border-top: 1px solid var(--hairline);
}

.ref-row h3 {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: clamp(1.4rem, 3.2vw, 2.2rem);
    margin: 0;
    letter-spacing: -.01em;
    transition: color .2s ease;
}

.ref-row .mono {
    color: var(--steel);
    font-size: .8rem;
    letter-spacing: .1em;
    text-transform: uppercase;
}

.ref-row .arrow {
    color: var(--signal);
    font-size: 1.4rem;
    opacity: 0;
    translate: -8px 0;
    transition: opacity .2s ease, translate .2s ease;
}

.ref-row:hover,
.ref-row:focus-visible {
    padding-left: 1rem;
}

.ref-row:hover h3,
.ref-row:focus-visible h3 {
    color: var(--signal);
}

.ref-row:hover .arrow,
.ref-row:focus-visible .arrow {
    opacity: 1;
    translate: 0 0;
}

/* Auf hellem Grund tragen die Linien und die Kategorie andere Werte */
.light-section .ref-row {
    border-color: rgba(10, 22, 30, .16);
}

.light-section .ref-row:first-of-type {
    border-top-color: rgba(10, 22, 30, .16);
}

.light-section .ref-row .mono {
    color: var(--muted-on-light);
}

.light-section .ref-row:hover h3,
.light-section .ref-row:focus-visible h3 {
    color: var(--signal-on-light);
}
