﻿/* -------------------------
   Grundlayout & Farben
------------------------- */

:root {
    --accent: #A7263A; /* Weinrot */
    --accent-dark: #7F1C2D; /* dunkleres Weinrot für Hover */
    --bg: #f9f9f9;
    --text: #222;
    --muted: #666;
    --border: #ddd;
}

/* Einheitliches Box-Modell */
* {
    box-sizing: border-box;
}

/* Sticky-Footer-Grundlage */
html,
body {
    height: 100%;
    margin: 0;
    padding: 0;
}

body {
    display: flex;
    flex-direction: column;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    line-height: 1.6;
    color: var(--text);
    background-color: var(--bg);
}

/* -------------------------
   Links
------------------------- */

a {
    color: var(--accent);
    text-decoration: none;
}

    a:hover {
        text-decoration: underline;
        color: var(--accent-dark);
    }

/* -------------------------
   Layout-Container
------------------------- */

.container {
    max-width: 900px; /* oder 1000px, wie du magst */
    margin: 0 auto; /* zentriert den Container */
    padding: 0 1rem; /* kleiner Innenabstand links/rechts */
}


/* -------------------------
   Header & Navigation
------------------------- */

.site-header {
    background: #ffffff;
    border-bottom: 1px solid var(--border);
    padding: 1rem 0;
    margin-bottom: 1.5rem;
}



.site-title {
    margin: 0 0 .3rem;
    font-size: 1.8rem;
    font-weight: 500;
}

.site-subtitle {
    margin: 0;
    font-size: 0.88rem;
    color: var(--muted);
}

    /* ORCID-Link im gleichen Grau wie der Untertitel */
    .site-subtitle .orcid-link {
        color: var(--muted); /* grau wie vorher */
        text-decoration: none; /* keine Unterstreichung */
    }

        .site-subtitle .orcid-link:hover {
            text-decoration: underline;
            color: var(--accent-dark); /* optional: dunkelrot beim Hover */
        }


/* Haupt-Navigation */

.main-nav {
    margin-top: .75rem;
}

    .main-nav a {
        margin-right: 1rem;
        font-size: 0.95rem;
        text-transform: uppercase;
        letter-spacing: 0.05em;
        color: var(--accent);
        padding-bottom: 0.15rem;
        border-bottom: 2px solid transparent;
    }

        .main-nav a:last-child {
            margin-right: 0;
        }

        .main-nav a.active {
            font-weight: 600;
            border-bottom-color: var(--accent);
        }

        .main-nav a:hover {
            color: var(--accent-dark);
        }

/* -------------------------
   Hauptinhalt
------------------------- */

 /*main {
    flex: 1;
    background: #ffffff;
    padding: 2rem 1.5rem 2.5rem;
    border-radius: 4px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
    margin-bottom: 2rem;
} */

main {
    flex: 1;
    background: #ffffff;
    padding: 2rem 1.5rem 2.5rem;
    border-radius: 0; /* keine abgerundeten Ecken mehr */
    box-shadow: none; /* kein Schatten mehr */
    margin-bottom: 2rem;
    width: 100%; /* neu */
    max-width: none; /* neu – damit kein altes max-width greift */
}


    main h1 {
        margin-top: 0;
        margin-bottom: 2rem; /* Abstand zur Liste */
        font-size: 1.6rem;
    }

    /* h2-Überschriften: schwarz, dezent betont */
    main h2 {
        margin-top: 2rem;
        font-size: 1.3rem;
        border-bottom: 1px solid #eee;
        padding-bottom: .3rem;
        color: #222; /* schwarz */
    }

    main h4 {
        font-size: 1.1rem;
        font-weight: 500;
        margin-top: 1.2rem;
        margin-bottom: 0.6rem;
        color: #222;
    }

    main h5 {
        font-size: 1rem; /* gleiche Größe wie normaler Text */
        font-weight: 700;
        margin-top: 1rem;
        margin-bottom: 0.4rem;
        color: #222;
    }



    /* h5-Überschriften: schwarz, dezent betont */



/* Kleine Abschnitts-Navigation innerhalb einer Seite (Texte, Projekte, …) */

.section-nav {
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
}

    .section-nav strong {
        margin-right: 0.5rem;
    }

    .section-nav a {
        margin-right: 1rem;
    }

/* -------------------------
   Kurzbiografie / Bio-Kästchen
------------------------- */

.bio {
    background: transparent;
    padding: 0;
    border-radius: 0;
    box-shadow: none;
    margin-top: 1rem;
    margin-bottom: 2rem;
}


    .bio h2 {
        font-size: 1.3rem;
        margin-top: 0;
        margin-bottom: 0.6rem;
        color: #222; /* ebenfalls schwarz */
    }

    .bio p {
        margin: 0;
        padding-bottom: 20px; /* Abstand zum Rand des Kästchens */
    }

/* -------------------------
   Listen (z.B. Ausbildung, Stationen, Publikationen)
------------------------- */

main ul {
    padding-left: 1.2rem;
}

main li {
    margin-bottom: 0.4rem;
}

/* -------------------------
   Footer (Sticky Footer)
------------------------- */

.site-footer {
    background: #f2f2f2;
    border-top: 1px solid var(--border);
    font-size: 0.8rem;
    color: #777;
    text-align: center;
    padding: 1rem 0 1.5rem;
    margin-top: auto; /* unterstützt Sticky Footer */
}

    .site-footer a {
        color: var(--accent);
    }

        .site-footer a:hover {
            color: var(--accent-dark);
        }

/* -------------------------
   Responsives Verhalten (einfach)
------------------------- */

@media (max-width: 600px) {
    .site-header {
        padding: 0.75rem 0;
    }

    .site-title {
        font-size: 1.4rem;
    }

    .main-nav a {
        display: inline-block;
        margin-right: 0.7rem;
        font-size: 0.8rem;
    }

    main {
        padding: 1.5rem 1rem 2rem;
    }

}



/* -------------------------
   Publikationsliste
------------------------- */

.pub-list {
    margin-top: 1rem;
}

    .pub-list p {
        margin-bottom: 1.2rem;
        line-height: 1.6;
        text-align: justify;
        text-indent: -1.5rem;
        padding-left: 1.5rem;
    }

/* -------------------------
   News-Layout (neu)
------------------------- */

.news-item {
    margin-bottom: 2rem;
}

/* Cover-Reihe oben */
.news-covers {
    display: flex;
    justify-content: flex-start;
    gap: 2rem; /* Abstand zwischen den Covern */
    margin-bottom: 2rem;
}

.news-cover {
    flex: 0 0 auto;
}

    .news-cover img {
        display: block;
        max-width: 230px; /* hier kannst du die Cover-Größe anpassen */
        height: auto;
    }




/* Herausgeber / Autoren */
.news-text h5 {
    margin-top: 1.2rem;
    margin-bottom: 0.4rem;
}

.news-people {
    list-style: none;
    padding-left: 0;
    margin: 0 0 0.4rem 0; /* wenig Abstand nach unten */
}

    .news-people li {
        margin-bottom: 0.2rem; /* enger Zeilenabstand */
        line-height: 1.3;
    }

.news-isbn {
    list-style: none;
    padding-left: 0;
    margin: 0 0 0.4rem 0; /* wenig Abstand nach unten */
}

    .news-isbn li {
        margin-bottom: 0.2rem; /* enger Zeilenabstand */
        line-height: 1.3;
    }

.news-verlag {
    list-style: none;
    padding-left: 0;
    margin: 0 0 0.4rem 0; /* wenig Abstand nach unten */
}

    .news-verlag p {
        margin-top: 1.5rem; /*mehr Abstand nach oben*/
        margin-bottom: 0.2rem; /* enger Zeilenabstand */
        line-height: 1.3;
    }

/* Responsiv: Cover untereinander statt nebeneinander */
@media (max-width: 700px) {
    .news-covers {
        flex-direction: column;
        align-items: flex-start;
    }

    .news-cover img {
        max-width: 70%;
    }
}

/* Überschreibe globales h2 für News-Seite */
.news-text h2 {
    margin-top: 0.4rem !important; /* Titel dichter an den Cover-Bereich */
    margin-bottom: 0.1rem !important; /* enger zum Untertitel */
    padding-bottom: 0 !important; /* falls noch Restabstand kommt */
    border-bottom: none !important; /* graue Linie sicher entfernen */
}

/* Untertitel noch näher */
.news-text .news-subtitle {
    margin-top: 0 !important;
    margin-bottom: 1rem !important;
}


/* News-Titel und Untertitel enger setzen */
.news-text h2 {
    margin-top: 0 !important;
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
    border-bottom: none !important;
    line-height: 1.3; /* engerer Zeilenabstand in der Überschrift */
}

.news-text .news-subtitle {
    margin-top: 0 !important;
    margin-bottom: 1rem !important; /* kleiner Abstand nach unten */
    line-height: 1.3; /* etwas enger als der Standard 1.6 */
}


/* -------------------------
   Rezensionen: Link-Ausnahme
------------------------- */



    .reviews a:hover {
        color: var(--accent-dark) !important; /* dunkel-Weinrot beim Hover */
        text-decoration: underline;
    }

