:root {
    --bg: #F8F9FB;
    --surface: #FFFFFF;
    --text: #111111;
    --muted: #555555;
    --accent: #0094FF;
    --border: #DDD;
    --container: 1140px;
    --radius: 14px;
    --shadow-sm: 0 8px 24px rgba(17, 17, 17, 0.04);
}

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

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    line-height: 1.7;
    color: var(--text);
    background:
        radial-gradient(circle at 0 0, rgba(0, 148, 255, 0.09), transparent 36%),
        linear-gradient(180deg, #FCFCFE 0%, var(--bg) 26%, var(--bg) 100%);
}

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

p,
h1,
h2,
h3 {
    margin: 0;
}

.container {
    width: min(var(--container), calc(100% - 2.25rem));
    margin: 0 auto;
}

.site-header {
    border-bottom: 1px solid var(--border);
    background: rgba(248, 249, 251, 0.84);
    backdrop-filter: blur(8px);
}

.site-header .container {
    padding: 1rem 0;
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem 1rem;
    justify-content: space-between;
    align-items: baseline;
}

.nameplate {
    font-family: 'DM Serif Display', serif;
    font-size: 1.35rem;
    letter-spacing: 0.01em;
}

.role-line {
    color: var(--muted);
    font-size: 0.92rem;
}

main.container {
    padding: clamp(3.2rem, 9vw, 8rem) 0 clamp(4rem, 8vw, 7rem);
}

section {
    margin-top: clamp(3.8rem, 8vw, 7.5rem);
}

.hero {
    margin-top: 0;
}

.eyebrow,
.section-kicker {
    display: inline-block;
    margin-bottom: 1rem;
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-size: 0.9rem;
    font-weight: 600;
}

h1,
h2 {
    font-family: 'IBM Plex Serif', serif;
    font-weight: 600;
    letter-spacing: -0.01em;
}

h1 {
    font-family: 'DM Serif Display', serif;
    font-size: clamp(2rem, 5.2vw, 2.85rem);
    line-height: 1.05;
    letter-spacing: -0.015em;
    font-weight: 700;
}

.hero-main h1+p {
    margin-top: clamp(1.1rem, 3.2vw, 1.2rem);
}

.hero-sub {
    margin-top: 1.5rem;
    max-width: 66ch;
    color: var(--muted);
    font-size: clamp(1.02rem, 2.8vw, 1.22rem);
}

.hero-accent {
    display: block;
    width: clamp(7rem, 18vw, 11rem);
    height: 0.25rem;
    margin-top: 1.9rem;
    border-radius: 999px;
    background: linear-gradient(90deg, var(--accent), rgba(0, 148, 255, 0.35));
}

.hero-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 0.7rem 0.8rem;
    margin-top: 2rem;
    width: 100%;
    justify-content: flex-start;
}

.pill {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    background: rgba(0, 148, 255, 0.08);
    color: var(--text);
    padding: 0.5rem 0.85rem;
    border-radius: 999px;
    font-size: 0.9rem;
    font-weight: 500;
    line-height: 1.35;
    border: 1px solid rgba(0, 148, 255, 0.2);
    box-shadow: 0 4px 12px rgba(17, 17, 17, 0.05);
    transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease, background-color 180ms ease;
}

.pill::before {
    content: "";
    width: 0.5rem;
    height: 0.5rem;
    border-radius: 50%;
    flex: 0 0 0.5rem;
    background: var(--accent);
    box-shadow: 0 0 0 2px rgba(0, 148, 255, 0.2);
}

.pill:hover,
.pill:focus-visible {
    transform: translateY(-1px);
    border-color: rgba(0, 148, 255, 0.4);
    background: rgba(0, 148, 255, 0.14);
    box-shadow: 0 8px 20px rgba(17, 17, 17, 0.08);
}

.section-header {
    max-width: 70ch;
}

.summary .section-header {
    max-width: none;
}

h2 {
    font-family: 'DM Serif Display', serif;
    font-size: clamp(1.5rem, 4vw, 2.2rem);
    line-height: 1.2;
}

.summary-text {
    margin-top: 1.8rem;
    max-width: 74ch;
    color: var(--muted);
    font-size: 1.05rem;
}

.intro p {
    margin-top: 1.2rem;
    max-width: 74ch;
    color: var(--muted);
    font-size: 1.05rem;
}

.capability-grid,
.spotlight-grid,
.topic-list {
    list-style: none;
    padding: 0;
    margin: 2rem 0 0;
    display: grid;
    gap: 1rem;
}

.capability-card,
.spotlight-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1.3rem;
    box-shadow: var(--shadow-sm);
    transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.capability-card:hover,
.capability-card:focus-within,
.spotlight-card:hover,
.spotlight-card:focus-within {
    transform: translateY(-2px);
    border-color: rgba(0, 148, 255, 0.5);
    box-shadow: 0 10px 26px rgba(17, 17, 17, 0.08);
}

.capability-card h3,
.spotlight-card h3,
.timeline-item h3,
.topic-item h3,
.education-card h3 {
    font-size: 1.08rem;
    line-height: 1.35;
    margin-bottom: 0.65rem;
}

.capability-card p,
.spotlight-card p,
.timeline-item p,
.topic-item p {
    color: var(--muted);
}

.spotlight-card {
    border-left: 3px solid var(--accent);
}

.spotlight-card p+p {
    margin-top: 0.75rem;
}

.spotlight-card strong {
    color: var(--text);
    font-weight: 600;
}

.timeline {
    position: relative;
    margin-top: 1.8rem;
    padding-left: 1.35rem;
}

.career-profile {
    margin-top: 1rem;
    max-width: 75ch;
    color: var(--muted);
}

.timeline::before {
    content: "";
    position: absolute;
    top: 0.25rem;
    bottom: 0.25rem;
    left: 0.2rem;
    width: 1px;
    background: var(--border);
}

.timeline-item {
    position: relative;
    padding: 0 0 1.5rem 1.1rem;
}

.timeline-item:last-child {
    padding-bottom: 0;
}

.timeline-item::before {
    content: "";
    position: absolute;
    left: -1.45rem;
    top: 0.24rem;
    width: 0.68rem;
    height: 0.68rem;
    border-radius: 50%;
    border: 2px solid var(--accent);
    background: var(--bg);
}

.timeline-period {
    color: var(--accent);
    font-size: 0.78rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    font-weight: 600;
    margin-bottom: 0.35rem;
}

.timeline-company {
    font-size: 0.95rem;
    margin-bottom: 0.55rem;
}

.career-highlights {
    margin: 0.25rem 0 0;
    padding-left: 1.1rem;
    color: var(--muted);
}

.career-highlights li+li {
    margin-top: 0.45rem;
}

.career-highlights li::marker {
    color: var(--accent);
}

.topic-list {
    margin-top: 1.6rem;
}

.education-grid {
    margin-top: 1.6rem;
    display: grid;
    gap: 1rem;
}

.education-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1.15rem;
    box-shadow: var(--shadow-sm);
}

.education-card p {
    color: var(--muted);
}

.topic-item {
    border-top: 1px solid var(--border);
    padding-top: 1rem;
}

.topic-item p {
    margin-top: 0.35rem;
}

.contact {
    border-top: 1px solid var(--border);
    padding-top: clamp(2rem, 6vw, 3rem);
}

.contact-copy {
    margin-top: 1rem;
    max-width: 65ch;
    color: var(--muted);
}

.contact-links {
    margin-top: 1.2rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
}

.contact-link {
    display: inline-flex;
    align-items: center;
    padding: 0.55rem 0.85rem;
    border: 1px solid var(--border);
    border-radius: 999px;
    background: var(--surface);
    transition: border-color 180ms ease, color 180ms ease;
}

.contact-link:hover {
    border-color: var(--accent);
    color: var(--accent);
}

.site-footer {
    border-top: 1px solid var(--border);
}

.site-footer .container {
    padding: 1.6rem 0 2.6rem;
}

.site-footer p {
    color: var(--muted);
    font-size: 0.9rem;
}

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


/* =========================
   HERO GRID + PORTRAIT (V3)
========================= */

.hero {
    padding: 6rem 0 4rem 0;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 4rem;
    align-items: start;
}

.hero-main {
    max-width: 640px;
}

.hero-copy {
    font-size: 1.125rem;
    line-height: 1.6;
    max-width: 540px;
}

.hero-portrait {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    /* explizit */
}

.hero-portrait img {
    width: 100%;
    max-width: 280px;
    height: auto;
    border-radius: 12px;
    display: block;
    object-fit: cover;
    grid-template-columns: 1.2fr 0.8fr;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
}

.hero-facts-list {
    margin-top: 1.75rem;
    padding-left: 1.2rem;
    list-style: disc;
    font-size: 0.95rem;
    line-height: 1.6;
    color: var(--muted);
}

.hero-facts-list li {
    margin-bottom: 0.5rem;
}

@media (max-width: 1024px) {

    .hero-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .hero-portrait {
        align-items: center;
    }

    .hero-portrait img {
        max-width: 360px;
    }

    .hero-facts-list {
        text-align: left;
        max-width: 360px;
    }
}

@media (max-width: 640px) {

    .hero {
        padding: 4rem 0 3rem 0;
    }

    .hero-main h1 {
        font-size: 2rem;
        line-height: 1.2;
    }

    .hero-copy {
        font-size: 1rem;
    }

    .hero-portrait img {
        max-width: 300px;
    }
}

@media (min-width: 900px) {
    .summary .section-header h2 {
        white-space: nowrap;
    }
}


@media (min-width: 740px) {
    .intro {
        display: grid;
        grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr);
        gap: 2rem;
        align-items: start;
    }

    .intro p {
        margin-top: 0.28rem;
    }

    .capability-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 1.1rem;
    }

    .topic-list {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 1rem 1.5rem;
    }

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

    .topic-item {
        border-top: 0;
        border-left: 1px solid var(--border);
        padding: 0 0 0 1rem;
    }
}

@media (min-width: 1024px) {
    .spotlight-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 1rem;
    }

    .role-line {
        font-size: 0.95rem;
    }
}

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

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