/* STUDIENLEISTUNGEN */


.results-page {

    width: min(1180px, calc(100% - 48px));

    margin: auto;

}



/* EINSTIEG */

.results-hero {

    display: flex;

    align-items: center;

    min-height: 470px;

    padding: 70px 0 82px;

}


.results-intro {

    max-width: 850px;

}


.results-intro h1 {

    max-width: 760px;

    margin: 0 0 28px;

    font-size: clamp(3.3rem, 8vw, 7.4rem);

}


.results-intro h1 em {

    color: var(--coral);

    font-weight: 400;

}


.results-intro p {

    max-width: 700px;

    margin-bottom: 32px;

    color: var(--muted);

    font-size: 1.08rem;

    line-height: 1.75;

}


.back-link {

    display: inline-block;

    padding-bottom: 8px;

    border-bottom: 2px solid var(--coral);

    color: var(--ink);

    font-size: .9rem;

    font-weight: 800;

    text-decoration: none;

}


.back-link:hover {

    color: var(--teal);

}



/* SEMESTER */

.semester-section {

    display: grid;

    grid-template-columns: 220px 1fr;

    gap: 70px;

    padding: 78px 0 100px;

    border-top: 1px solid var(--border);

}


.semester-index {

    margin: 0;

    color: var(--teal);

    font-size: .75rem;

    font-weight: 800;

    letter-spacing: .14em;

    line-height: 1.45;

    text-transform: uppercase;

}


.semester-content {

    min-width: 0;

}


.semester-header {

    display: flex;

    align-items: flex-end;

    justify-content: space-between;

    gap: 40px;

    margin-bottom: 30px;

}


.semester-header h2 {

    max-width: 760px;

    margin: 0;

    font-size: clamp(2.25rem, 4.2vw, 3.8rem);

    line-height: .95;

}



/* MODULLISTE */

.results-list {

    border-top: 1px solid var(--ink);

}


.result-row {

    display: grid;

    grid-template-columns: minmax(0, 1fr) 120px;

    align-items: stretch;

    min-height: 82px;

    border-bottom: 1px solid var(--border);

    transition: background-color .2s ease;

}


.result-row:hover {

    background: var(--paper);

}


.result-module {

    display: flex;

    flex-direction: column;

    justify-content: center;

    padding: 16px 24px 16px 0;

}


.result-module h3 {

    margin: 0 0 5px;

    color: var(--ink);

    font-family: "DM Serif Display", Georgia, serif;

    font-size: clamp(1.25rem, 1.9vw, 1.65rem);

    font-weight: 400;

    letter-spacing: -.02em;

    line-height: 1.08;

}


.result-module p {

    margin: 0;

    color: var(--teal);

    font-size: .67rem;

    font-weight: 800;

    letter-spacing: .1em;

    text-transform: uppercase;

}



/* NOTE */

.result-grade {

    display: flex;

    align-items: center;

    justify-content: center;

    padding-left: 20px;

    border-left: 1px solid var(--border);

    color: var(--ink);

    font-family: "DM Serif Display", Georgia, serif;

    font-size: clamp(2rem, 3vw, 2.65rem);

    font-weight: 400;

    line-height: 1;

}



/* LAUFENDER STATUS */

.result-status {

    color: var(--ink);

    font-family: "Manrope", "Segoe UI", sans-serif;

    font-size: 1.05rem;

    font-weight: 700;

    letter-spacing: .01em;

}



/* TABLET */

@media (max-width: 900px) {

    .semester-header {

        align-items: flex-start;

        flex-direction: column;

        gap: 26px;

    }


    .semester-section {

        display: block;

        padding: 78px 0;

    }


    .semester-index {

        margin-bottom: 34px;

    }

}



/* MOBILE */

@media (max-width: 780px) {

    .results-page {

        width: min(100% - 32px, 1180px);

    }


    .results-hero {

        min-height: auto;

        padding: 54px 0 38px;

    }


    .results-intro h1 {

        font-size: clamp(2.5rem, 11vw, 4rem);

        white-space: normal;

    }


    .results-intro p {

        font-size: .95rem;

    }


    .semester-section {

        padding: 36px 0 80px;

    }


    .semester-header {

        margin-bottom: 30px;

    }


    .semester-header h2 {

        font-size: clamp(2.25rem, 10vw, 3.4rem);

    }


    .result-row {

        grid-template-columns: minmax(0, 1fr) 92px;

        min-height: 78px;

    }


    .result-module {

        padding: 18px 14px 18px 0;

    }


    .result-module h3 {

        margin-bottom: 6px;

        font-size: 1.2rem;

    }


    .result-grade {

        padding-left: 14px;

        font-size: 1.9rem;

    }


}