/* PETER RIESER - RADICAL BRUTALIST MONO */

:root {
    --bg-color: #fefefe;
    --text-color: #050505;
    --indent: 2.5rem; 
    /* Monospace Stack: Nutzt die beste verfügbare Festbreitenschrift des Systems */
    --font-base: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, "Liberation Mono", monospace;
    --text-size: 0.8rem;
    --max-width: 750px;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    background-color: var(--bg-color);
    color: var(--text-color);
    font-family: var(--font-base);
    font-size: var(--text-size);
    line-height: 1.6;
    padding: 3rem 2rem;
    max-width: var(--max-width);
    /* Optischer Fix: Monospace wirkt oft etwas größer, daher glätten wir die Kanten */
    -webkit-font-smoothing: antialiased;
}

h1, h2, p, a, li, span {
    font-size: var(--text-size);
    font-weight: normal;
    color: var(--text-color);
}

header {
    margin-bottom: 4rem;
}

section {
    margin-bottom: 3.5rem;
}

h2 {
    margin-bottom: 0.5rem;
    text-transform: lowercase;
}

ul {
    list-style: none;
    padding-left: var(--indent);
}

li {
    margin-bottom: 0.6rem;
}

a {
    text-decoration: none;
    color: inherit;
}

/* Hover-Effekt: Durchgestrichen */
a:hover {
    text-decoration: line-through;
}

.active {
    text-decoration: line-through;
    pointer-events: none;
}

nav ul {
    padding-left: 0;
}

@media (max-width: 600px) {
    :root { --indent: 1.2rem; }
    body { padding: 1.5rem 1rem; }
}
li {
    margin-bottom: 0.6rem;
}

/* Doppelte Einrückung für die Jahreszahlen */
.year-label {
    margin-top: 2rem;      /* Deutlicher Abstand vor einem neuen Jahr */
    padding-left: 2.5rem;  /* Zusätzliche Einrückung zur bestehenden ul-Einrückung */
    opacity: 0.8;          /* Optional: Leicht dezenter, um den Fokus auf den Werktitel zu legen */
    margin-bottom: 0.4rem;
}