/* Farbkräftigere, reduzierte Variante – HTML bleibt unverändert */

:root {
    --navy: #102a43;
    --blue: #075985;
    --cyan: #00a6b2;
    --cyan-soft: #dff7f7;
    --ink: #172b3a;
    --muted: #4b6170;
    --paper: #ffffff;
    --page: #edf2f5;
    --line: #c8d5de;
    --accent: #e05a33;
    --shadow-sm: 0 3px 10px rgba(16, 42, 67, 0.07);
    --shadow-md: 0 7px 18px rgba(16, 42, 67, 0.08);
}

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: 24px;
}

body {
    margin: 0;
    font-family: "Helvetica Neue", Arial, sans-serif;
    color: var(--ink);
    font-size: 16px;
    line-height: 1.65;
    background: var(--page);
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

img {
    max-width: 100%;
}

a {
    transition: color 160ms ease, background-color 160ms ease, border-color 160ms ease;
}

a:focus-visible {
    outline: 3px solid var(--accent);
    outline-offset: 3px;
    border-radius: 3px;
}

.seite {
    width: min(100% - 48px, 1100px);
    margin-inline: auto;
    padding: 0;
}

/* Kopfbereich: kräftiger Farbakzent, wenig Dekoration */
header {
    background: var(--navy);
    color: #ffffff;
    padding: 34px 0;
    border-bottom: 5px solid var(--cyan);
}

.kopf {
    display: grid;
    grid-template-columns: 166px minmax(0, 1fr);
    gap: 38px;
    align-items: center;
}

.portrait {
    width: 160px;
    max-width: 100%;
}

.portrait img {
    position: relative;
    z-index: 1;
    display: block;
    width: 160px;
    height: 160px;
    object-fit: cover;
    border: 5px solid var(--paper);
    border-radius: 22px;
    box-shadow: 0 10px 26px rgba(20, 47, 70, 0.15);
}

.titel {
    min-width: 0;
}

h1 {
    margin: 0 0 10px;
    color: #ffffff;
    font-size: clamp(2.1rem, 4vw, 2.8rem);
    font-weight: 750;
    line-height: 1.12;
    letter-spacing: -0.035em;
    text-wrap: balance;
}

.position {
    margin: 0;
    color: #dceaf2;
    font-size: 1.05rem;
    line-height: 1.6;
}

.sprache {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 7px;
    margin-bottom: 16px;
    color: #9db8c8;
    font-size: 0.9rem;
}

.sprache a {
    display: inline-block;
    padding: 3px 7px;
    color: #ffffff;
    font-weight: 700;
    text-decoration: none;
    border-bottom: 2px solid transparent;
}

.sprache a:hover {
    color: #8cf0f0;
    border-bottom-color: var(--cyan);
}

/* Hauptbereich */
.hauptbereich {
    display: grid;
    grid-template-columns: 205px minmax(0, 1fr);
    gap: 34px;
    align-items: start;
    padding-top: 34px;
}

/* Navigation: klare Linien statt Kartenoptik */
aside {
    position: sticky;
    top: 22px;
    align-self: start;
    padding: 0;
    background: transparent;
    border: 0;
    border-radius: 0;
    box-shadow: none;
}

aside a {
    display: block;
    margin: 0 0 4px;
    padding: 11px 13px;
    border-left: 3px solid transparent;
    color: var(--navy);
    font-size: 0.97rem;
    font-weight: 600;
    text-decoration: none;
}

aside a:hover {
    color: var(--blue);
    background: #dce9ef;
    border-left-color: var(--blue);
}

nav a.active {
    color: #ffffff;
    background: var(--blue);
    border-left-color: var(--cyan);
    font-weight: 700;
}

/* Inhalt: einfache weiße Fläche, keine starke Karteninszenierung */
main {
    min-width: 0;
    width: 100%;
    max-width: 780px;
    padding: 30px 34px;
    background: var(--paper);
    border: 1px solid var(--line);
    border-top: 4px solid var(--cyan);
    border-radius: 3px;
    box-shadow: none;
}

section {
    margin-bottom: 0;
}

section + section {
    margin-top: 30px;
    padding-top: 28px;
    border-top: 1px solid var(--line);
}

h2 {
    margin: 0 0 14px;
    color: var(--navy);
    font-size: clamp(1.35rem, 2.5vw, 1.65rem);
    font-weight: 750;
    line-height: 1.3;
    letter-spacing: -0.02em;
}

p {
    margin-top: 0;
}

main p:last-child {
    margin-bottom: 0;
}

main a {
    color: var(--blue);
    font-weight: 650;
    text-decoration-thickness: 1px;
    text-underline-offset: 3px;
}

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

strong {
    color: var(--navy);
    font-weight: 750;
}

/* Footer */
footer {
    margin-top: 48px;
    padding: 20px 0 24px;
    border-top: 1px solid var(--line);
    background: #e2eaf0;
    color: var(--muted);
    font-size: 0.9rem;
    text-align: center;
}

footer a {
    display: inline-block;
    padding: 4px 7px;
    color: var(--navy);
    font-weight: 600;
    text-decoration: none;
}

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

/* Tablet */
@media (max-width: 800px) {
    .seite {
        width: min(100% - 36px, 680px);
    }

    header {
        padding: 28px 0;
    }

    .kopf {
        grid-template-columns: 126px minmax(0, 1fr);
        gap: 24px;
    }

    .portrait {
        width: 126px;
    }

    .portrait img {
        width: 120px;
        height: 120px;
    }

    .hauptbereich {
        grid-template-columns: 1fr;
        gap: 20px;
        padding-top: 26px;
    }

    aside {
        position: static;
    }

    nav {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 3px 8px;
    }

    aside a {
        margin: 0;
    }

    aside > a {
        display: inline-block;
        margin: 8px 8px 0 0;
    }

    main {
        max-width: none;
        padding: 28px;
    }

    footer {
        margin-top: 34px;
    }
}

/* Smartphone */
@media (max-width: 520px) {
    .seite {
        width: calc(100% - 28px);
    }

    header {
        padding: 24px 0 26px;
    }

    .kopf {
        grid-template-columns: 1fr;
        gap: 16px;
        text-align: center;
    }

    .portrait {
        margin-inline: auto;
    }

    .portrait img {
        margin-inline: auto;
    }

    .sprache {
        justify-content: center;
        margin-bottom: 14px;
    }

    h1 {
        font-size: clamp(1.8rem, 8vw, 2.25rem);
    }

    .hauptbereich {
        gap: 16px;
        padding-top: 18px;
    }

    nav {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    nav a {
        font-size: 0.9rem;
        text-align: center;
    }

    main {
        padding: 23px 19px;
    }

    section + section {
        margin-top: 24px;
        padding-top: 23px;
    }

    footer {
        margin-top: 28px;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        transition-duration: 0.01ms !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
    }
}
