/* emil martini – grundgerüst nach bauhaus dessau */

@import url('https://fonts.googleapis.com/css2?family=Jost:wght@400;600;800&display=swap');

:root {
    --schwarz: #000000;
    --weiss: #ffffff;
    --rot: #e54d26;
    --schrift: 'Jost', 'Futura', sans-serif;
    --balken-stark: 16px;
    --balken-mittel: 10px;
    --balken-duenn: 4px;
}

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

html {
    font-size: 16px;
}

body {
    font-family: var(--schrift);
    background-color: var(--weiss);
    color: var(--schwarz);
    min-height: 100vh;
    text-transform: lowercase;
    letter-spacing: 0.02em;
}

/* startseite */

.start {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    padding: 4rem 4rem 4rem 10rem;
    position: relative;
}

.balken-links {
    position: fixed;
    top: 0;
    left: 0;
    width: var(--balken-stark);
    height: 100vh;
    background-color: var(--schwarz);
}

.balken-links-2 {
    position: fixed;
    top: 0;
    left: 28px;
    width: var(--balken-mittel);
    height: 45vh;
    background-color: var(--rot);
}

.balken-oben {
    position: fixed;
    top: 2.5rem;
    right: 4rem;
    width: 180px;
    height: var(--balken-stark);
    background-color: var(--rot);
}

.balken-oben-2 {
    position: fixed;
    top: calc(2.5rem + 28px);
    right: 4rem;
    width: 100px;
    height: var(--balken-mittel);
    background-color: var(--schwarz);
}

.name {
    font-size: 2.25rem;
    font-weight: 800;
    letter-spacing: 0.25em;
    margin-bottom: 5rem;
    position: relative;
}

.name::after {
    content: '';
    position: absolute;
    bottom: -1.5rem;
    left: 0;
    width: 60px;
    height: var(--balken-mittel);
    background-color: var(--schwarz);
}

/* sphären-navigation */

.sphaeren {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    gap: 3.5rem;
    max-width: 900px;
}

.sphaere {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    color: var(--schwarz);
    transition: color 0.1s ease;
}

.sphaere:hover {
    color: var(--rot);
}

.sphaere:hover .kreis {
    background-color: var(--rot);
}

.sphaere:hover .kreis::after {
    background-color: var(--schwarz);
}

.kreis {
    width: 110px;
    height: 110px;
    border-radius: 50%;
    background-color: var(--schwarz);
    margin-bottom: 1.25rem;
    transition: background-color 0.1s ease;
    position: relative;
}

.kreis::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: var(--balken-duenn);
    background-color: var(--rot);
    transition: background-color 0.1s ease;
}

.sphaere span {
    font-size: 0.95rem;
    font-weight: 600;
    letter-spacing: 0.18em;
}

/* dekorative elemente startseite */

.deko-kreis {
    position: fixed;
    border-radius: 50%;
}

.deko-kreis-1 {
    bottom: 4rem;
    right: 10rem;
    width: 80px;
    height: 80px;
    background-color: var(--rot);
}

.deko-kreis-2 {
    bottom: 9rem;
    right: 5rem;
    width: 35px;
    height: 35px;
    background-color: var(--schwarz);
}

.deko-kreis-3 {
    bottom: 6rem;
    right: 3rem;
    width: 18px;
    height: 18px;
    background-color: var(--rot);
}

.balken-horizontal {
    position: fixed;
    bottom: 3rem;
    left: 4rem;
    width: 140px;
    height: var(--balken-stark);
    background-color: var(--schwarz);
}

.balken-horizontal-2 {
    position: fixed;
    bottom: calc(3rem + 28px);
    left: 4rem;
    width: 80px;
    height: var(--balken-mittel);
    background-color: var(--rot);
}

.impressum-link {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-decoration: none;
    color: var(--schwarz);
}

.impressum-link:hover {
    opacity: 1;
    color: var(--rot);
}

/* sphären-übersicht (unterseiten) */

.sphaere-seite {
    min-height: 100vh;
    padding: 4rem 4rem 4rem 8rem;
    position: relative;
}

.sphaere-seite::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: var(--balken-stark);
    height: 100vh;
    background-color: var(--rot);
}

.sphaere-seite::after {
    content: '';
    position: fixed;
    top: 0;
    left: 28px;
    width: var(--balken-mittel);
    height: 100vh;
    background-color: var(--schwarz);
}

.sphaere-header {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 4rem;
    position: relative;
}

.sphaere-header::after {
    content: '';
    position: absolute;
    bottom: -1.5rem;
    left: 0;
    width: 200px;
    height: var(--balken-mittel);
    background-color: var(--schwarz);
}

.sphaere-header .kreis-klein {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background-color: var(--schwarz);
}

.sphaere-header h1 {
    font-size: 2.25rem;
    font-weight: 800;
    letter-spacing: 0.18em;
}

.balken-header {
    height: var(--balken-mittel);
    width: 100px;
    background-color: var(--rot);
    margin-left: 1rem;
}

.zurueck {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 2.5rem;
    text-decoration: none;
    color: var(--schwarz);
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 0.12em;
}

.zurueck::before {
    content: '';
    display: inline-block;
    width: 30px;
    height: var(--balken-duenn);
    background-color: var(--schwarz);
}

.zurueck:hover {
    color: var(--rot);
}

.zurueck:hover::before {
    background-color: var(--rot);
}

/* inhaltsliste */

.inhaltsliste {
    max-width: 700px;
    list-style: none;
    margin-left: 2rem;
}

.inhaltsliste li {
    margin-bottom: 2.5rem;
    padding-bottom: 2.5rem;
    padding-left: 2rem;
    border-left: var(--balken-mittel) solid var(--schwarz);
    position: relative;
}

.inhaltsliste li::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: -10px;
    width: 80px;
    height: var(--balken-duenn);
    background-color: var(--rot);
}

.inhaltsliste li:hover {
    border-left-color: var(--rot);
}

.inhaltsliste a {
    text-decoration: none;
    color: var(--schwarz);
}

.inhaltsliste a:hover {
    color: var(--rot);
}

.inhaltsliste .titel {
    font-size: 1.2rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    display: block;
    margin-bottom: 0.35rem;
}

.inhaltsliste .datum {
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    opacity: 0.5;
}

/* textseite */

.text-seite {
    max-width: 750px;
    margin: 0;
    margin-left: 8rem;
    padding: 4rem 4rem 6rem 0;
    position: relative;
}

.text-seite::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: var(--balken-stark);
    height: 100vh;
    background-color: var(--schwarz);
}

.text-seite::after {
    content: '';
    position: fixed;
    top: 40vh;
    left: 28px;
    width: var(--balken-mittel);
    height: 60vh;
    background-color: var(--rot);
}

.text-seite .zurueck {
    margin-bottom: 3rem;
}

.text-seite h1 {
    font-size: 2rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    margin-bottom: 0.75rem;
    line-height: 1.25;
}

.text-seite .meta {
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    opacity: 0.6;
    margin-bottom: 2rem;
}

.text-seite .trennbalken {
    width: 120px;
    height: var(--balken-mittel);
    background-color: var(--rot);
    margin-bottom: 3rem;
}

.text-seite p {
    font-size: 1rem;
    line-height: 1.8;
    margin-bottom: 1.75rem;
    text-align: left;
    text-transform: none;
    letter-spacing: 0.01em;
    padding-left: 1.5rem;
    border-left: var(--balken-duenn) solid transparent;
    position: relative;
}

.text-seite p:nth-child(odd) {
    border-left-color: var(--schwarz);
}

.text-seite p:nth-child(even) {
    border-left-color: var(--rot);
}

.text-seite h2 {
    font-size: 1.15rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    margin-top: 3.5rem;
    margin-bottom: 1.25rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    position: relative;
}

.text-seite h2::before {
    content: '';
    display: inline-block;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background-color: var(--rot);
    flex-shrink: 0;
}

.text-seite h2::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 60px;
    height: var(--balken-duenn);
    background-color: var(--schwarz);
}

/* fußnoten */

.fussnote {
    font-size: 0.7rem;
    font-weight: 800;
    color: var(--rot);
    text-decoration: none;
    vertical-align: super;
    margin-left: 2px;
}

.fussnote:hover {
    text-decoration: underline;
}

.fussnoten-bereich {
    margin-top: 5rem;
    padding-top: 2.5rem;
    padding-left: 1.5rem;
    border-top: var(--balken-mittel) solid var(--schwarz);
    border-left: var(--balken-duenn) solid var(--rot);
    position: relative;
}

.fussnoten-bereich::before {
    content: '';
    position: absolute;
    top: -10px;
    left: 0;
    width: 50px;
    height: var(--balken-duenn);
    background-color: var(--rot);
}

.fussnoten-bereich h3 {
    font-size: 1rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    margin-bottom: 2rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.fussnoten-bereich h3::before {
    content: '';
    display: inline-block;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: var(--schwarz);
}

.fussnoten-liste {
    list-style: none;
}

.fussnoten-liste li {
    font-size: 0.85rem;
    line-height: 1.6;
    margin-bottom: 1rem;
    padding-left: 2.5rem;
    position: relative;
    text-transform: none;
}

.fussnoten-liste li::before {
    content: attr(data-nr);
    position: absolute;
    left: 0;
    font-weight: 800;
    color: var(--rot);
}

.fussnoten-liste li::after {
    content: '';
    position: absolute;
    left: 1.5rem;
    top: 0.5em;
    width: 0.5rem;
    height: var(--balken-duenn);
    background-color: var(--schwarz);
}

.fussnoten-liste a {
    color: var(--schwarz);
    text-decoration: none;
    word-break: break-all;
}

.fussnoten-liste a:hover {
    color: var(--rot);
}

/* bilder */

.bild {
    width: 100%;
    margin: 3rem 0;
    position: relative;
    padding-left: 1.5rem;
    border-left: var(--balken-duenn) solid var(--schwarz);
}

.bild::before {
    content: '';
    position: absolute;
    top: -12px;
    left: -4px;
    width: 60px;
    height: var(--balken-mittel);
    background-color: var(--rot);
}

.bild img {
    width: 100%;
    height: auto;
    display: block;
}

.bild figcaption {
    font-size: 0.8rem;
    font-weight: 600;
    margin-top: 1rem;
    opacity: 0.6;
    letter-spacing: 0.04em;
}

/* impressum */

.impressum-seite {
    max-width: 600px;
    margin-left: 8rem;
    padding: 4rem 2rem;
    position: relative;
}

.impressum-seite::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: var(--balken-stark);
    height: 100vh;
    background-color: var(--schwarz);
}

.impressum-seite::after {
    content: '';
    position: fixed;
    top: 20vh;
    left: 28px;
    width: var(--balken-mittel);
    height: 40vh;
    background-color: var(--rot);
}

.impressum-seite h1 {
    font-size: 1.75rem;
    font-weight: 800;
    letter-spacing: 0.18em;
    margin-bottom: 2rem;
    position: relative;
}

.impressum-seite h1::after {
    content: '';
    position: absolute;
    bottom: -1rem;
    left: 0;
    width: 80px;
    height: var(--balken-mittel);
    background-color: var(--rot);
}

.impressum-seite p {
    font-size: 0.95rem;
    line-height: 1.75;
    margin-bottom: 1.75rem;
    margin-top: 2rem;
    text-transform: none;
    padding-left: 1rem;
    border-left: var(--balken-duenn) solid var(--schwarz);
}

.impressum-seite p:first-of-type {
    margin-top: 3rem;
}

.impressum-seite strong {
    font-weight: 800;
}

/* responsive */

@media (max-width: 768px) {
    /* startseite */
    .start {
        padding: 3rem 1.5rem 3rem 3.5rem;
    }
    
    .balken-links {
        width: 8px;
        left: 0;
    }
    
    .balken-links-2 {
        left: 12px;
        width: 5px;
        height: 35vh;
    }
    
    .balken-oben {
        right: 1.5rem;
        top: 1.5rem;
        width: 60px;
        height: 8px;
    }
    
    .balken-oben-2 {
        right: 1.5rem;
        width: 35px;
        height: 5px;
        top: calc(1.5rem + 14px);
    }
    
    .name {
        font-size: 1.25rem;
        margin-bottom: 3rem;
        letter-spacing: 0.15em;
    }
    
    .name::after {
        bottom: -1rem;
        width: 40px;
        height: 6px;
    }
    
    .sphaeren {
        gap: 1.5rem;
        flex-direction: column;
        align-items: flex-start;
    }
    
    .sphaere {
        flex-direction: row;
        gap: 1rem;
    }
    
    .kreis {
        width: 50px;
        height: 50px;
        margin-bottom: 0;
    }
    
    .kreis::after {
        display: none;
    }
    
    .sphaere span {
        font-size: 0.85rem;
    }
    
    .deko-kreis-1 {
        width: 35px;
        height: 35px;
        right: 2.5rem;
        bottom: 2.5rem;
    }
    
    .deko-kreis-2,
    .deko-kreis-3 {
        display: none;
    }
    
    .balken-horizontal {
        width: 50px;
        height: 8px;
        left: 1.5rem;
        bottom: 2rem;
    }
    
    .balken-horizontal-2 {
        width: 30px;
        height: 5px;
        left: 1.5rem;
        bottom: calc(2rem + 14px);
    }
    
    .impressum-link {
        bottom: 1.5rem;
        right: 1.5rem;
        font-size: 0.65rem;
    }
    
    /* sphären-seiten */
    .sphaere-seite {
        padding: 2.5rem 1.5rem 2.5rem 3.5rem;
    }
    
    .sphaere-seite::before {
        width: 8px;
    }
    
    .sphaere-seite::after {
        left: 12px;
        width: 5px;
    }
    
    .sphaere-header {
        margin-bottom: 2.5rem;
        gap: 1rem;
    }
    
    .sphaere-header::after {
        width: 100px;
        height: 6px;
        bottom: -1rem;
    }
    
    .sphaere-header .kreis-klein {
        width: 30px;
        height: 30px;
    }
    
    .sphaere-header h1 {
        font-size: 1.5rem;
        letter-spacing: 0.12em;
    }
    
    .zurueck {
        font-size: 0.75rem;
        margin-bottom: 2rem;
    }
    
    .zurueck::before {
        width: 20px;
        height: 3px;
    }
    
    /* inhaltsliste */
    .inhaltsliste {
        margin-left: 0;
    }
    
    .inhaltsliste li {
        margin-bottom: 1.5rem;
        padding-bottom: 1.5rem;
        padding-left: 1rem;
        border-left-width: 6px;
    }
    
    .inhaltsliste li::after {
        width: 50px;
        height: 3px;
    }
    
    .inhaltsliste .titel {
        font-size: 1rem;
    }
    
    .inhaltsliste .datum {
        font-size: 0.7rem;
    }
    
    /* textseite */
    .text-seite {
        margin-left: 3.5rem;
        padding: 2.5rem 1.5rem 4rem 0;
    }
    
    .text-seite::before {
        width: 8px;
    }
    
    .text-seite::after {
        left: 12px;
        width: 5px;
        top: 30vh;
        height: 70vh;
    }
    
    .text-seite h1 {
        font-size: 1.4rem;
        letter-spacing: 0.06em;
    }
    
    .text-seite .meta {
        font-size: 0.75rem;
    }
    
    .text-seite .trennbalken {
        width: 80px;
        height: 6px;
        margin-bottom: 2rem;
    }
    
    .text-seite p {
        font-size: 0.9rem;
        line-height: 1.7;
        padding-left: 1rem;
        border-left-width: 3px;
        margin-bottom: 1.25rem;
    }
    
    .text-seite h2 {
        font-size: 1rem;
        margin-top: 2.5rem;
        gap: 0.75rem;
    }
    
    .text-seite h2::before {
        width: 12px;
        height: 12px;
    }
    
    .text-seite h2::after {
        width: 40px;
        height: 3px;
        bottom: -6px;
    }
    
    /* fußnoten */
    .fussnoten-bereich {
        margin-top: 3rem;
        padding-top: 1.5rem;
        padding-left: 1rem;
    }
    
    .fussnoten-bereich h3 {
        font-size: 0.85rem;
        margin-bottom: 1.5rem;
    }
    
    .fussnoten-bereich h3::before {
        width: 10px;
        height: 10px;
    }
    
    .fussnoten-liste li {
        font-size: 0.75rem;
        padding-left: 2rem;
        margin-bottom: 0.75rem;
    }
    
    /* bilder */
    .bild {
        margin: 2rem 0;
        padding-left: 1rem;
    }
    
    .bild::before {
        width: 40px;
        height: 6px;
        top: -10px;
    }
    
    .bild figcaption {
        font-size: 0.7rem;
    }
}
