/* Schriften lokal eingebunden (kein Abruf bei Google) */
@font-face {
    font-family: "Inter";
    font-style: normal;
    font-weight: 400 700;
    font-display: swap;
    src: url("fonts/inter-latin.woff2") format("woff2");
}

@font-face {
    font-family: "Lora";
    font-style: normal;
    font-weight: 400 600;
    font-display: swap;
    src: url("fonts/lora-latin.woff2") format("woff2");
}

@font-face {
    font-family: "Lora";
    font-style: italic;
    font-weight: 400 600;
    font-display: swap;
    src: url("fonts/lora-italic-latin.woff2") format("woff2");
}

:root {
    --ink: #1d2733;
    --muted: #5d6874;
    --accent: #0f5c6e;
    --accent-dark: #0a4654;
    --soft: #eef4f5;
    --line: #d9e0e4;
    --white: #ffffff;
    --sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", "Helvetica Neue", Arial, sans-serif;
    --serif: "Lora", Georgia, "Times New Roman", serif;
    --page: 1040px;
    --gutter: 1.5rem;
}

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

html {
    -webkit-text-size-adjust: 100%;
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: var(--sans);
    font-size: 1.0625rem;
    line-height: 1.7;
    color: var(--ink);
    background: var(--white);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

ul {
    padding: 0;
    list-style: none;
}

img {
    max-width: 100%;
}

a {
    color: var(--accent);
    text-decoration: underline;
    text-decoration-color: var(--line);
    text-decoration-thickness: 1px;
    text-underline-offset: 0.2em;
}

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

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

.wrap {
    max-width: var(--page);
    margin: 0 auto;
    padding: 0 var(--gutter);
}

/* Kopfzeile */
.topbar {
    border-bottom: 1px solid var(--line);
}

.topbar .wrap {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    min-height: 4rem;
}

.topbar-name {
    font-weight: 600;
    letter-spacing: 0.01em;
    color: var(--ink);
    text-decoration: none;
}

.topbar-right {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.topbar-nav {
    display: flex;
    gap: 1.5rem;
    font-size: 0.9375rem;
}

.topbar-nav a {
    color: var(--muted);
    text-decoration: none;
}

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

.lang {
    display: flex;
    border: 1px solid var(--accent);
    border-radius: 999px;
    overflow: hidden;
    font-size: 0.875rem;
    font-weight: 600;
    letter-spacing: 0.04em;
}

.lang a,
.lang span {
    display: block;
    min-width: 2.75rem;
    padding: 0.4rem 0.8rem;
    text-align: center;
    text-decoration: none;
}

.lang span {
    background: var(--accent);
    color: var(--white);
}

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

.lang a:hover {
    background: var(--soft);
}

/* Hero */
.hero {
    padding: 5.5rem 0 5rem;
}

.hero .wrap {
    display: grid;
    grid-template-columns: 200px 1fr;
    gap: 3.5rem;
    align-items: center;
}

.hero-photo {
    display: block;
    width: 200px;
    height: 200px;
    border-radius: 50%;
    object-fit: cover;
}

.hero h1 {
    font-family: var(--serif);
    font-size: clamp(2.25rem, 5vw, 3.25rem);
    font-weight: 600;
    line-height: 1.15;
    letter-spacing: -0.01em;
}

.hero-role {
    margin-top: 0.75rem;
    font-size: 1.0625rem;
    font-weight: 600;
    color: var(--accent);
}

.hero-quote {
    margin: 1.75rem 0 0;
    max-width: 38rem;
    font-family: var(--serif);
    font-style: italic;
    font-size: clamp(1.1875rem, 2.2vw, 1.375rem);
    line-height: 1.55;
    color: var(--ink);
}

.buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 2rem;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.55rem;
    padding: 0.7rem 1.4rem;
    border: 1px solid var(--accent);
    border-radius: 4px;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
}

.btn svg {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
}

.btn-solid {
    background: var(--accent);
    color: var(--white);
}

.btn-solid:hover {
    background: var(--accent-dark);
    border-color: var(--accent-dark);
    color: var(--white);
}

.btn-line {
    background: var(--white);
    color: var(--accent);
}

.btn-line:hover {
    background: var(--soft);
}

/* Abschnitte */
.section {
    padding: 4.5rem 0;
    border-top: 1px solid var(--line);
}

.section .wrap {
    display: grid;
    grid-template-columns: 220px minmax(0, 1fr);
    gap: 3rem;
}

.section h2 {
    font-size: 0.8125rem;
    font-weight: 700;
    line-height: 1.5;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--accent);
    padding-top: 0.35rem;
}

.section h2::after {
    content: "";
    display: block;
    width: 2.5rem;
    height: 2px;
    margin-top: 0.75rem;
    background: var(--accent);
}

.section h3 {
    font-size: 1.0625rem;
    font-weight: 600;
    line-height: 1.4;
}

.body {
    max-width: 42rem;
}

.prose p + p {
    margin-top: 1.15rem;
}

/* Woran ich arbeite */
.fields {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 2.25rem 2.75rem;
    max-width: none;
}

.fields p {
    margin-top: 0.4rem;
    font-size: 1rem;
    color: var(--ink);
}

/* 99active */
.section-soft {
    background: var(--soft);
    border-top-color: transparent;
}

.section-soft + .section {
    border-top-color: transparent;
}

.brand {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    margin-bottom: 1.25rem;
}

.brand img {
    display: block;
    width: 44px;
    height: 44px;
}

.brand span {
    font-size: 1.125rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    color: hsl(222deg 48% 18%);
}

.more {
    margin-top: 1.5rem;
    font-weight: 600;
}

/* Stationen */
.logos {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 1.5rem 3rem;
    padding-bottom: 2rem;
}

.logos img {
    display: block;
    width: auto;
    height: 34px;
}

.logos img.logo-tall {
    height: 58px;
}

.job {
    display: grid;
    grid-template-columns: 7.5rem minmax(0, 1fr);
    gap: 1.5rem;
    padding: 1.6rem 0;
    border-top: 1px solid var(--line);
}

.job:first-of-type {
    border-top: 0;
}

.job:last-of-type {
    padding-bottom: 0;
}

.job-when {
    padding-top: 0.15rem;
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--muted);
    font-variant-numeric: tabular-nums;
}

.job-pos {
    margin-top: 0.1rem;
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--accent);
}

.job-text {
    margin-top: 0.5rem;
    font-size: 1rem;
}

/* Ausbildung */
.certs li {
    padding: 0.7rem 0;
    border-top: 1px solid var(--line);
}

.certs li:first-child {
    border-top: 0;
    padding-top: 0;
}

/* Kontakt und Impressum */
.contact-mail {
    margin-top: 1.5rem;
}

.imprint {
    font-size: 1rem;
}

.imprint p + p {
    margin-top: 1rem;
}

.imprint .muted {
    color: var(--muted);
}

.footer {
    border-top: 1px solid var(--line);
    padding: 2rem 0 2.5rem;
    font-size: 0.9375rem;
    color: var(--muted);
}

.footer .wrap {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 0.5rem 1.5rem;
}

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

/* Tablet und Handy */
@media (max-width: 860px) {
    .topbar-nav {
        display: none;
    }

    .section {
        padding: 3.25rem 0;
    }

    .section .wrap {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

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

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

    .hero-photo {
        width: 140px;
        height: 140px;
    }
}

@media (max-width: 600px) {
    :root {
        --gutter: 1.25rem;
    }

    body {
        font-size: 1rem;
    }

    .fields {
        grid-template-columns: 1fr;
        gap: 1.75rem;
    }

    .buttons {
        flex-direction: column;
    }

    .logos {
        gap: 1rem 1.25rem;
    }

    .logos img {
        height: 22px;
    }

    .logos img.logo-tall {
        height: 36px;
    }

    .job {
        grid-template-columns: 1fr;
        gap: 0.25rem;
        padding: 1.35rem 0;
    }
}
