/* ==========================================================================
   Grundlagen
   ========================================================================== */

*,
*::before,
*::after {
    box-sizing: border-box;
}

@font-face {
    font-family: "Inter";
    src: url("fonts/Inter_18pt-Regular.ttf") format("truetype");
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Manrope";
    src: url("fonts/Manrope-Regular.ttf") format("truetype");
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

:root {
    color-scheme: light dark;

    /* Markenfarben */
    --navy950: #0A1828;
    --navy900: #0F2236;
    --navy800: #16304A;
    --navy700: #203D59;
    --blue400: #83B0FF;
    --blue300: #A5C6FF;
    --blue200: #D2E2FF;

    /* Helles Farbschema */
    --backgroundColor: #F3F7FD;
    --surfaceColor: #FFFFFF;
    --textColor: #10151F;
    --mutedColor: #56677F;
    --headingColor: #16304A;
    --lineColor: #DCE6F4;
    --accentColor: #2F5FC4;
    --tintColor: rgba(47, 95, 196, 0.08);
    --focusColor: #2F5FC4;
    --glowColor: rgba(131, 176, 255, 0.4);
    --glowColorSoft: rgba(165, 198, 255, 0.3);
    --buttonBackground: var(--navy800);
    --buttonColor: #FFFFFF;
    --cardShadow: 0 1px 2px rgba(16, 21, 31, 0.04), 0 18px 40px -20px rgba(32, 61, 89, 0.3);
    --pictureShadow: 0 0 0 0.35rem var(--surfaceColor), 0 0 0 calc(0.35rem + 1px) var(--lineColor),
        0 1.25rem 2.5rem -0.75rem rgba(32, 61, 89, 0.45);
    --heroPattern: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='27.7128' height='48' viewBox='0 0 27.7128 48'%3E%3Cpath d='M13.8564 0V8L27.7128 16V32L13.8564 40L0 32V16L13.8564 8M13.8564 40V48' fill='none' stroke='%23203D59' stroke-opacity='0.09'/%3E%3C/svg%3E");
    --sidebarPattern: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='27.7128' height='48' viewBox='0 0 27.7128 48'%3E%3Cpath d='M13.8564 0V8L27.7128 16V32L13.8564 40L0 32V16L13.8564 8M13.8564 40V48' fill='none' stroke='%23FFFFFF' stroke-opacity='0.07'/%3E%3C/svg%3E");

    /* Maße */
    --sidebarWidth: clamp(15rem, 21vw, 19rem);
    --gutter: clamp(1rem, 5vw, 4.5rem);
    --contentWidth: 46rem;
    --cardPadding: clamp(1.5rem, 1rem + 2.5vw, 3rem);
    --radius: 1.25rem;
    --patternSize: 41.5692px 72px;

    /* Icons – werden als Maske genutzt, die Farbe kommt von currentColor */
    --iconHome: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3.5 10.5 12 3.5l8.5 7'/%3E%3Cpath d='M5.5 9v11h13V9'/%3E%3Cpath d='M10 20v-5.5h4V20'/%3E%3C/svg%3E");
    --iconUser: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='8' r='4'/%3E%3Cpath d='M4.5 20.5c0-4.1 3.4-6.5 7.5-6.5s7.5 2.4 7.5 6.5'/%3E%3C/svg%3E");
    --iconMail: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='5' width='18' height='14' rx='2.5'/%3E%3Cpath d='m3.5 7 8.5 6 8.5-6'/%3E%3C/svg%3E");
    --iconDocument: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M14 3H7a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h10a2 2 0 0 0 2-2V8z'/%3E%3Cpath d='M14 3v5h5'/%3E%3Cpath d='M9 13h6M9 17h6'/%3E%3C/svg%3E");
    --iconFlask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9 3h6'/%3E%3Cpath d='M10 3v6.5L4.6 18.2A1.9 1.9 0 0 0 6.2 21h11.6a1.9 1.9 0 0 0 1.6-2.8L14 9.5V3'/%3E%3Cpath d='M7.2 14.5h9.6'/%3E%3C/svg%3E");
    --iconDownload: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 3.5v11'/%3E%3Cpath d='m7 10 5 5 5-5'/%3E%3Cpath d='M4.5 20.5h15'/%3E%3C/svg%3E");
}

/* Dunkles Farbschema – folgt der Einstellung des Betriebssystems */
@media (prefers-color-scheme: dark) {
    :root {
        --backgroundColor: #09121F;
        --surfaceColor: #0F1D31;
        --textColor: #E3EBF6;
        --mutedColor: #9AAEC8;
        --headingColor: #F2F6FC;
        --lineColor: #1D3250;
        --accentColor: #9CC0FF;
        --tintColor: rgba(131, 176, 255, 0.1);
        --focusColor: #83B0FF;
        --glowColor: rgba(47, 95, 196, 0.32);
        --glowColorSoft: rgba(32, 61, 89, 0.5);
        --buttonBackground: var(--blue400);
        --buttonColor: var(--navy950);
        --cardShadow: 0 1px 2px rgba(0, 0, 0, 0.3), 0 20px 44px -20px rgba(0, 0, 0, 0.7);
        --heroPattern: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='27.7128' height='48' viewBox='0 0 27.7128 48'%3E%3Cpath d='M13.8564 0V8L27.7128 16V32L13.8564 40L0 32V16L13.8564 8M13.8564 40V48' fill='none' stroke='%23A5C6FF' stroke-opacity='0.08'/%3E%3C/svg%3E");
    }
}

/* Sanfter Übergang beim Seitenwechsel (Bild und Navigation bleiben stehen) */
@media (prefers-reduced-motion: no-preference) {
    @view-transition {
        navigation: auto;
    }
}

html {
    -webkit-text-size-adjust: 100%;
    text-size-adjust: 100%;
}

::selection {
    background-color: var(--blue300);
    color: var(--navy950);
}

:focus-visible {
    outline: 2px solid var(--focusColor);
    outline-offset: 3px;
}

/* ==========================================================================
   Seitenaufbau – Smartphone (Grundlage)
   ========================================================================== */

body {
    margin: 0;
    min-height: 100dvh;
    background-color: var(--backgroundColor);
    background-image:
        radial-gradient(50rem 26rem at 0% 0%, var(--glowColor), transparent 70%),
        radial-gradient(40rem 22rem at 100% 0%, var(--glowColorSoft), transparent 70%);
    background-repeat: no-repeat;
    color: var(--textColor);
    font-family: "Inter", system-ui, sans-serif;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;

    display: grid;
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: auto auto 1fr auto;
    grid-template-areas:
        "profilePicture"
        "header"
        "content"
        "footer";
}

/* Wabenmuster hinter dem Profilbild */
body::after {
    content: "";
    position: absolute;
    inset: 0 0 auto 0;
    height: 28rem;
    z-index: -1;
    pointer-events: none;
    background: var(--heroPattern) 50% 0 / var(--patternSize);
    -webkit-mask-image: radial-gradient(ellipse 60% 100% at 50% 0%, #000 0%, transparent 75%);
    mask-image: radial-gradient(ellipse 60% 100% at 50% 0%, #000 0%, transparent 75%);
}

.profilePicture {
    grid-area: profilePicture;
    justify-self: center;
    width: clamp(7.5rem, 32vw, 9.5rem);
    height: auto;
    aspect-ratio: 1;
    margin-top: 2.5rem;
    border-radius: 50%;
    object-fit: cover;
    background-image: radial-gradient(circle at 50% 30%, #DCE8FF 0%, #9DBFFF 38%, #4F7FD0 75%, #2E5A9E 100%);
    box-shadow: var(--pictureShadow);
    view-transition-name: profilePicture;
}

body > header {
    grid-area: header;
    padding: 1.75rem var(--gutter) 2rem;
    text-align: center;
}

body > header h1 {
    margin: 0;
    font-family: "Manrope", sans-serif;
    font-weight: 400;
    font-size: clamp(2.1rem, 1.5rem + 2.6vw, 3.6rem);
    line-height: 1.1;
    letter-spacing: -0.025em;
    color: var(--headingColor);
    text-wrap: balance;
}

body > header::after {
    content: "";
    display: block;
    width: 3.5rem;
    height: 0.25rem;
    margin: 1.1rem auto 0;
    border-radius: 999px;
    background-image: linear-gradient(90deg, var(--blue400), var(--accentColor));
}

.content {
    grid-area: content;
    padding: 0 var(--gutter) 3rem;
    font-size: clamp(1.0625rem, 1rem + 0.2vw, 1.125rem);
}

body > footer {
    grid-area: footer;
    padding: 2rem var(--gutter);
    background-color: var(--navy950);
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    color: rgba(255, 255, 255, 0.66);
    font-size: 0.9rem;
    text-align: center;
    --focusColor: var(--blue400);
}

body > footer p {
    margin: 0;
}

body > footer a {
    color: var(--blue300);
    text-decoration: none;
}

body > footer a:hover {
    text-decoration: underline;
    text-underline-offset: 0.2em;
}

/* ==========================================================================
   Inhaltsbereich
   ========================================================================== */

main {
    display: block;
    max-width: var(--contentWidth);
    margin-inline: auto;
    line-height: 1.75;
    hyphens: auto;
    overflow-wrap: break-word;
    text-wrap: pretty;
}

/* Normalerweise ist der ganze Inhalt eine Karte.
   Mit <main class="cards"> wird stattdessen jeder Block darin eine eigene Karte. */
main:not(.cards),
.cards > * {
    padding: var(--cardPadding);
    background-color: var(--surfaceColor);
    border: 1px solid var(--lineColor);
    border-radius: var(--radius);
    box-shadow: var(--cardShadow);
}

.cards {
    display: flex;
    flex-direction: column;
    gap: clamp(1.25rem, 0.75rem + 1.5vw, 2rem);
}

.cards > * {
    margin: 0;
}

main p,
main ul,
main ol,
main dl {
    margin: 0 0 1.15em;
}

main h2 {
    margin: 0 0 1.25rem;
    font-family: "Manrope", sans-serif;
    font-weight: 400;
    font-size: clamp(1.45rem, 1.2rem + 1vw, 1.85rem);
    line-height: 1.25;
    letter-spacing: -0.015em;
    color: var(--headingColor);
    hyphens: manual;
    text-wrap: balance;
}

main * + h2 {
    margin-top: 2.5rem;
}

main h3 {
    margin: 0;
    font-family: "Manrope", sans-serif;
    font-weight: 400;
    font-size: 1.2rem;
    line-height: 1.35;
    color: var(--headingColor);
    hyphens: manual;
}

main ul,
main ol {
    padding-left: 1.4em;
}

main li + li {
    margin-top: 0.35em;
}

main li::marker {
    color: var(--accentColor);
}

main :is(p, ul, ol, dl, figure, .gallery):last-child {
    margin-bottom: 0;
}

main a {
    color: var(--accentColor);
    text-decoration-thickness: 1px;
    text-underline-offset: 0.2em;
}

main a:hover {
    text-decoration-thickness: 2px;
}

main code {
    padding: 0.1em 0.4em;
    border-radius: 0.35em;
    background-color: var(--tintColor);
    font-family: ui-monospace, "Cascadia Code", Consolas, monospace;
    font-size: 0.9em;
    hyphens: none;
}

/* Jahreszahl über einer Überschrift */
.year {
    display: block;
    width: fit-content;
    margin: 0 0 0.6rem;
    padding: 0.15rem 0.65rem;
    border-radius: 999px;
    background-color: var(--tintColor);
    color: var(--accentColor);
    font-family: "Inter", sans-serif;
    font-size: 0.8rem;
    line-height: 1.6;
    letter-spacing: 0.04em;
    font-variant-numeric: tabular-nums;
}

/* Bilder behalten immer ihr eigenes Seitenverhältnis: nie beschnitten, nie gestreckt.
   Große Bilder werden auf die verfügbare Breite bzw. Höhe verkleinert, kleine nicht vergrößert. */
main figure {
    margin: 1.75rem 0;
}

main img {
    display: block;
    width: auto;
    max-width: 100%;
    height: auto;
    /* damit verzögert geladene Bilder (loading="lazy") vor dem Laden nicht 0 px groß sind */
    min-width: 1px;
    min-height: 1px;
    border-radius: 0.75rem;
}

main figure img {
    max-height: min(75vh, 36rem);
    margin-inline: auto;
}

main figcaption {
    margin-top: 0.6rem;
    color: var(--mutedColor);
    font-size: 0.875rem;
    line-height: 1.5;
    text-align: center;
}

/* Mehrere Bilder nebeneinander, auf dem Handy untereinander */
.gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 11.5rem), 1fr));
    align-items: start;
    gap: 1.25rem 1rem;
    margin: 1.75rem 0;
}

.gallery figure {
    margin: 0;
}

.gallery img {
    max-height: 28rem;
}

/* ==========================================================================
   Lebenslauf: Zeitleiste
   ========================================================================== */

.timeline {
    margin: 0;
    padding: 0;
    list-style: none;
}

.timeline > li {
    position: relative;
    margin: 0;
    padding: 0 0 2.25rem 1.75rem;
    border-left: 2px solid var(--lineColor);
}

.timeline > li:last-child {
    padding-bottom: 0;
    border-left-color: transparent;
}

.timeline > li::before {
    content: "";
    position: absolute;
    top: 0.45rem;
    left: -7px;
    width: 12px;
    height: 12px;
    border: 2px solid var(--accentColor);
    border-radius: 50%;
    background-color: var(--surfaceColor);
}

.timeline > li:first-child::before {
    background-color: var(--accentColor);
}

.cvRole {
    color: var(--mutedColor);
}

main .cvRole {
    margin: 0.1rem 0 0.75rem;
}

.cvFacts {
    display: grid;
    grid-template-columns: max-content minmax(0, 1fr);
    gap: 0.2rem 1rem;
    font-size: 0.95em;
}

.cvFacts dt {
    color: var(--mutedColor);
}

.cvFacts dd {
    margin: 0;
}

/* ==========================================================================
   Kontaktseite
   ========================================================================== */

.contactCard {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 1.25rem;
    font-style: normal;
}

.contactName {
    font-family: "Manrope", sans-serif;
    font-size: clamp(1.4rem, 1.2rem + 1vw, 1.75rem);
    line-height: 1.2;
    color: var(--headingColor);
}

/* ==========================================================================
   Schaltflächen: E-Mail (Kontaktseite) und Download (Projekte)
   ========================================================================== */

.contactMail,
.download {
    display: inline-flex;
    align-items: center;
    gap: 0.65rem;
    max-width: 100%;
    padding: 0.8rem 1.4rem 0.8rem 1.15rem;
    border-radius: 999px;
    background-color: var(--buttonBackground);
    color: var(--buttonColor);
    text-decoration: none;
    line-height: 1.3;
    hyphens: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.contactMail {
    --buttonIcon: var(--iconMail);
}

.download {
    --buttonIcon: var(--iconDownload);
}

.contactMail::before,
.download::before {
    content: "";
    flex: none;
    width: 1.25rem;
    height: 1.25rem;
    background-color: currentColor;
    -webkit-mask: var(--buttonIcon) center / contain no-repeat;
    mask: var(--buttonIcon) center / contain no-repeat;
}

.contactMail:hover,
.download:hover {
    transform: translateY(-1px);
    box-shadow: 0 10px 24px -10px rgba(22, 48, 74, 0.6);
}

/* Zusatzinfo im Knopf, z. B. „(ZIP, 25 MB)“ */
.download small {
    font-size: 0.85em;
    opacity: 0.75;
}

/* ==========================================================================
   Navigation – gemeinsame Teile
   ========================================================================== */

body > nav {
    view-transition-name: navigation;
}

body > nav ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

body > nav a {
    display: flex;
    align-items: center;
    text-decoration: none;
    transition: color 0.2s ease, background-color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

body > nav a::before {
    content: "";
    flex: none;
    width: 1.25rem;
    height: 1.25rem;
    background-color: currentColor;
    -webkit-mask: var(--icon) center / contain no-repeat;
    mask: var(--icon) center / contain no-repeat;
}

body > nav a[href="index.html"] {
    --icon: var(--iconHome);
}

body > nav a[href="ueber.html"] {
    --icon: var(--iconUser);
}

body > nav a[href="kontakt.html"] {
    --icon: var(--iconMail);
}

body > nav a[href="lebenslauf.html"] {
    --icon: var(--iconDocument);
}

body > nav a[href="projekte.html"] {
    --icon: var(--iconFlask);
}

/* ==========================================================================
   Smartphone: Navigation als schwebende Leiste unten
   ========================================================================== */

@media (max-width: 47.99rem) {
    body > nav {
        position: fixed;
        z-index: 10;
        left: 0.75rem;
        right: 0.75rem;
        bottom: calc(0.75rem + env(safe-area-inset-bottom));
        max-width: 32rem;
        margin-inline: auto;
        padding: 0.375rem;
        border: 1px solid rgba(255, 255, 255, 0.08);
        border-radius: 1.25rem;
        background-color: rgba(15, 34, 54, 0.9);
        -webkit-backdrop-filter: blur(14px) saturate(160%);
        backdrop-filter: blur(14px) saturate(160%);
        box-shadow: 0 14px 32px -10px rgba(10, 24, 40, 0.55);
        --focusColor: var(--blue400);
    }

    /* Passt sich automatisch an die Anzahl der Menüpunkte an */
    body > nav ul {
        display: grid;
        grid-auto-flow: column;
        grid-auto-columns: minmax(0, 1fr);
        gap: 0.25rem;
    }

    body > nav a {
        flex-direction: column;
        gap: 0.25rem;
        padding: 0.5rem 0.125rem 0.45rem;
        border-radius: 0.9rem;
        color: rgba(255, 255, 255, 0.7);
        font-size: clamp(0.625rem, 0.5rem + 0.6vw, 0.75rem);
        line-height: 1.2;
        white-space: nowrap;
    }

    body > nav a::before {
        width: 1.35rem;
        height: 1.35rem;
    }

    body > nav a:hover {
        color: #FFFFFF;
    }

    body > nav a[aria-current="page"] {
        color: #FFFFFF;
        background-color: rgba(131, 176, 255, 0.2);
    }

    body > nav a[aria-current="page"]::before {
        background-color: var(--blue300);
    }

    body > footer {
        padding-bottom: calc(6.5rem + env(safe-area-inset-bottom));
    }
}

/* ==========================================================================
   Tablet: Bild links, Titel und Navigation rechts daneben
   ========================================================================== */

@media (min-width: 48rem) and (max-width: 63.99rem) {
    body {
        grid-template-columns: auto minmax(0, 1fr);
        grid-template-areas:
            "profilePicture header"
            "profilePicture navigation"
            "content        content"
            "footer         footer";
        column-gap: clamp(1.25rem, 2.5vw, 2.25rem);
    }

    body::after {
        -webkit-mask-image: radial-gradient(ellipse 45% 100% at 15% 0%, #000 0%, transparent 75%);
        mask-image: radial-gradient(ellipse 45% 100% at 15% 0%, #000 0%, transparent 75%);
    }

    .profilePicture {
        align-self: center;
        width: 8rem;
        margin: 3rem 0 0 var(--gutter);
    }

    body > header {
        align-self: end;
        padding: 3rem var(--gutter) 0 0;
        text-align: left;
    }

    body > header::after {
        margin-left: 0;
    }

    body > nav {
        grid-area: navigation;
        align-self: start;
        padding: 1.25rem 1rem 0 0;
    }

    body > nav ul {
        display: flex;
        flex-wrap: wrap;
        gap: 0.4rem;
    }

    body > nav a {
        gap: 0.45rem;
        padding: 0.45rem 0.8rem 0.45rem 0.65rem;
        border: 1px solid var(--lineColor);
        border-radius: 999px;
        background-color: var(--surfaceColor);
        color: var(--textColor);
        font-family: "Manrope", sans-serif;
        font-size: 0.9rem;
    }

    body > nav a::before {
        width: 1.1rem;
        height: 1.1rem;
        background-color: var(--accentColor);
    }

    body > nav a:hover {
        border-color: var(--blue400);
    }

    body > nav a[aria-current="page"] {
        border-color: var(--buttonBackground);
        background-color: var(--buttonBackground);
        color: var(--buttonColor);
    }

    body > nav a[aria-current="page"]::before {
        background-color: currentColor;
    }

    .content {
        padding-top: 2.5rem;
    }

    main {
        margin-inline: 0;
    }
}

/* ==========================================================================
   Desktop: dunkle Seitenleiste mit Bild und Navigation
   ========================================================================== */

@media (min-width: 64rem) {
    body {
        grid-template-columns: var(--sidebarWidth) minmax(0, 1fr);
        grid-template-rows: auto 1fr auto;
        grid-template-areas:
            "profilePicture header"
            "navigation     content"
            "footer         footer";
        background-image: radial-gradient(48rem 26rem at 75% 0%, var(--glowColor), transparent 70%);
    }

    /* Hintergrund der Seitenleiste */
    body::before {
        content: "";
        position: fixed;
        inset: 0 auto 0 0;
        width: var(--sidebarWidth);
        z-index: -1;
        background-image:
            radial-gradient(120% 45% at 50% 0%, rgba(131, 176, 255, 0.22), transparent 75%),
            linear-gradient(180deg, var(--navy800), var(--navy950));
    }

    body::after {
        position: fixed;
        inset: 0 auto 0 0;
        width: var(--sidebarWidth);
        height: auto;
        background: var(--sidebarPattern) 50% 0 / var(--patternSize);
        -webkit-mask-image: linear-gradient(to bottom, #000 0%, transparent 60%);
        mask-image: linear-gradient(to bottom, #000 0%, transparent 60%);
    }

    .profilePicture {
        width: min(11rem, calc(var(--sidebarWidth) - 4rem));
        margin: 3.5rem 0 1rem;
        box-shadow:
            0 0 0 0.375rem rgba(255, 255, 255, 0.08),
            0 0 0 0.75rem rgba(131, 176, 255, 0.08),
            0 1.5rem 3rem -0.75rem rgba(0, 0, 0, 0.6);
    }

    body > header {
        align-self: end;
        padding: 3.5rem var(--gutter) 2.5rem;
        text-align: left;
    }

    body > header::after {
        margin-left: 0;
    }

    body > nav {
        grid-area: navigation;
        position: sticky;
        top: 0;
        align-self: start;
        padding: 1.5rem 1.25rem 2rem;
        --focusColor: var(--blue400);
    }

    body > nav ul {
        display: flex;
        flex-direction: column;
        gap: 0.25rem;
    }

    body > nav a {
        gap: 0.85rem;
        padding: 0.7rem 1rem;
        border-radius: 0.8rem;
        color: rgba(255, 255, 255, 0.72);
        font-family: "Manrope", sans-serif;
        font-size: 1rem;
    }

    body > nav a:hover {
        color: #FFFFFF;
        background-color: rgba(255, 255, 255, 0.06);
    }

    body > nav a[aria-current="page"] {
        color: #FFFFFF;
        background-color: rgba(131, 176, 255, 0.16);
        box-shadow: inset 3px 0 0 var(--blue400);
    }

    body > nav a[aria-current="page"]::before {
        background-color: var(--blue300);
    }

    main {
        margin-inline: 0;
    }
}

/* ==========================================================================
   Bewegung reduzieren & Druck
   ========================================================================== */

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        transition: none !important;
    }
}

@media print {
    body {
        display: block;
        background: none;
        color: #000000;
    }

    body::before,
    body::after,
    body > nav {
        display: none;
    }

    .profilePicture {
        width: 6rem;
        margin: 0;
        box-shadow: none;
    }

    body > header {
        padding: 1rem 0;
        text-align: left;
    }

    body > header::after {
        display: none;
    }

    .content {
        padding: 0;
    }

    main {
        max-width: none;
    }

    main:not(.cards),
    .cards > * {
        padding: 0;
        border: 0;
        box-shadow: none;
        background: none;
    }

    .timeline > li,
    main figure {
        break-inside: avoid;
    }

    body > footer {
        padding: 1rem 0 0;
        background: none;
        color: #000000;
        text-align: left;
    }
}
