:root {
    --bg: #05090c;
    --bg-soft: #071014;
    --panel: #0b151a;
    --panel-2: #0f1d22;
    --text: #f4f7f5;
    --muted: #a3afb3;
    --line: #26383f;
    --green: #54ef64;
    --lime: #a4ff62;
    --green-soft: rgba(84, 239, 100, 0.12);
    --shadow: 0 30px 90px rgba(0, 0, 0, 0.42);
    --radius: 22px;
}

* {
    box-sizing: border-box;
    scroll-behavior: smooth;
}

html {
    scroll-padding-top: 82px;
}

body {
    margin: 0;
    overflow-x: hidden;
    color: var(--text);
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    background:
        radial-gradient(circle at 76% 7%, rgba(50, 180, 79, 0.15), transparent 28%),
        linear-gradient(180deg, #04080a, #071015 45%, #05090c);
}

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

button {
    color: inherit;
    font: inherit;
}

.container {
    width: min(1180px, calc(100% - 36px));
    margin: 0 auto;
}

.site-nav {
    position: sticky;
    top: 0;
    z-index: 50;
    border-bottom: 1px solid var(--line);
    background: rgba(4, 8, 10, 0.82);
    backdrop-filter: blur(18px);
}

.nav-inner {
    min-height: 74px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.brand {
    display: flex;
    align-items: center;
    gap: 11px;
    font-weight: 850;
}

.brand-mark {
    width: 36px;
    height: 36px;
    display: grid;
    place-items: center;
    border: 1px solid var(--green);
    border-radius: 10px;
    color: var(--green);
    font-family: Consolas, monospace;
}

.nav-links {
    display: flex;
    gap: 23px;
    color: #c7d0d2;
    font-size: 0.92rem;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--green);
}

.nav-cta {
    padding: 10px 15px;
    border: 1px solid var(--green);
    border-radius: 10px;
    color: var(--green);
    font-weight: 750;
}

.hero {
    min-height: calc(100vh - 74px);
    display: flex;
    align-items: flex-end;
    border-bottom: 1px solid var(--line);
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.08fr 0.92fr;
    gap: 42px;
    align-items: end;
}

.hero-copy {
    padding: 76px 0 68px;
}

.terminal-label {
    margin-bottom: 20px;
    color: var(--green);
    font: 750 1rem Consolas, monospace;
}

h1,
h2 {
    letter-spacing: -0.05em;
}

h1 {
    margin: 0 0 24px;
    font-size: clamp(3rem, 6.4vw, 5.8rem);
    line-height: 0.96;
}

h1 span {
    color: var(--green);
}

h2 {
    margin: 10px 0 17px;
    font-size: clamp(2.15rem, 4.5vw, 3.7rem);
    line-height: 1.04;
}

.lead,
.muted,
.feature-card p,
.competency-card p,
.education-card p,
.timeline-item p {
    color: var(--muted);
    line-height: 1.75;
}

.lead {
    max-width: 690px;
    font-size: 1.08rem;
}

.terminal {
    max-width: 650px;
    margin-top: 31px;
    overflow: hidden;
    border: 1px solid #32464e;
    border-radius: 14px;
    background: rgba(5, 11, 14, 0.84);
    box-shadow: var(--shadow);
}

.terminal-head {
    display: flex;
    gap: 8px;
    padding: 13px 15px;
    border-bottom: 1px solid #22323a;
}

.terminal-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}

.terminal-dot.red {
    background: #ff605c;
}

.terminal-dot.yellow {
    background: #ffbd44;
}

.terminal-dot.green {
    background: #00ca4e;
}

.terminal-body {
    padding: 18px;
    font: 0.93rem/1.78 Consolas, monospace;
}

.prompt {
    color: var(--lime);
}

.terminal-output {
    color: #f7fbf8;
}

.actions {
    display: flex;
    flex-wrap: wrap;
    gap: 13px;
    margin-top: 27px;
}

.button {
    min-height: 49px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 18px;
    border: 1px solid #526169;
    border-radius: 10px;
    background: transparent;
    color: var(--text);
    font-weight: 800;
    cursor: pointer;
    transition: 0.2s ease;
}

.button:hover {
    transform: translateY(-3px);
    border-color: var(--green);
}

.button-primary {
    border-color: transparent;
    background: linear-gradient(135deg, var(--lime), var(--green));
    color: #061008;
}

.portrait-stage {
    position: relative;
    min-height: 680px;
    display: flex;
    align-items: flex-end;
    justify-content: center;
}

.portrait-stage::before {
    content: "";
    position: absolute;
    width: 470px;
    height: 470px;
    bottom: 72px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(84, 239, 100, 0.28), rgba(84, 239, 100, 0.06) 62%, transparent 74%);
    filter: blur(17px);
}

.portrait {
    position: relative;
    z-index: 2;
    width: min(100%, 500px);
    max-height: 640px;
    object-fit: cover;
    object-position: center top;
    padding: 8px;
    border: 1px solid rgba(84, 239, 100, 0.34);
    border-radius: 34px 110px 34px 110px;
    background: linear-gradient(145deg, rgba(84, 239, 100, 0.2), rgba(255, 255, 255, 0.025));
    box-shadow: 0 30px 90px rgba(0, 0, 0, 0.5), 0 0 55px rgba(84, 239, 100, 0.12);
}

section {
    padding: 94px 0;
    border-bottom: 1px solid var(--line);
}

.stats {
    padding: 0;
    background: #071014;
}

.stat-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
}

.stat {
    min-height: 168px;
    padding: 31px 24px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    border-right: 1px solid var(--line);
}

.stat:last-child {
    border-right: 0;
}

.stat > strong {
    display: block;
    margin: 0 0 7px;
    color: var(--green);
    font-size: 2rem;
    line-height: 1.05;
    letter-spacing: -0.04em;
}

.stat > span {
    color: var(--muted);
    font-size: 0.9rem;
    line-height: 1.45;
}

/* Leadership KPI: bewusst eigene Klassennamen, damit keine globale Regel kollidiert. */
.stat-leadership {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.leadership-title {
    margin-bottom: 11px;
    color: var(--green);
    font-size: 2rem;
    font-weight: 700;
    line-height: 1.05;
    letter-spacing: -0.04em;
}

.leadership-numberline {
    display: flex;
    align-items: baseline;
    gap: 10px;
    white-space: nowrap;
}

.leadership-number {
    color: var(--green);
    font-size: 2.35rem;
    font-weight: 900;
    line-height: 1;
    letter-spacing: -0.04em;
}

.leadership-unit {
    color: var(--text);
    font-size: 1.08rem;
    font-weight: 750;
    line-height: 1;
}

.leadership-description {
    max-width: 260px;
    margin-top: 11px;
    color: var(--muted) !important;
    font-size: 0.86rem !important;
    line-height: 1.45 !important;
}

.eyebrow {
    color: var(--green);
    font-size: 0.9rem;
    font-weight: 850;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.profile-grid {
    display: grid;
    grid-template-columns: 0.85fr 1.15fr;
    gap: 62px;
    align-items: start;
}

.quote {
    margin-top: 26px;
    padding: 24px;
    border-left: 3px solid var(--green);
    border-radius: 0 16px 16px 0;
    background: linear-gradient(90deg, var(--green-soft), transparent);
    font-size: 1.15rem;
    line-height: 1.6;
}

.feature-grid,
.competency-grid,
.education-grid {
    display: grid;
    gap: 17px;
}

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

.feature-card,
.competency-card,
.education-card {
    min-width: 0;
    padding: 24px;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: linear-gradient(150deg, rgba(255, 255, 255, 0.025), rgba(84, 239, 100, 0.018));
    transition: 0.22s ease;
}

.feature-card:hover,
.competency-card:hover,
.education-card:hover {
    transform: translateY(-5px);
    border-color: #3d6650;
    background: linear-gradient(150deg, rgba(255, 255, 255, 0.04), rgba(84, 239, 100, 0.05));
}

.card-icon {
    min-height: 30px;
    margin-bottom: 13px;
    color: var(--green);
    font-size: 1.5rem;
    line-height: 1;
}

.feature-card h3,
.competency-card h3,
.education-card h3,
.timeline-item h3 {
    margin: 0 0 8px;
    overflow-wrap: anywhere;
}

.section-intro {
    max-width: 760px;
}

.competency-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    margin-top: 34px;
}

.competency-card {
    min-height: 290px;
}

.competency-card h3 {
    color: var(--text);
    font-size: 1.15rem;
    line-height: 1.35;
}

.competency-card p {
    margin: 0;
    font-size: 0.98rem;
}

.tag-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 28px;
}

.tag-list span {
    padding: 9px 12px;
    border: 1px solid #30444c;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.02);
    color: #c9d2d4;
    font-size: 0.88rem;
}

.timeline {
    position: relative;
    margin-top: 38px;
}

.timeline::before {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    left: 14px;
    width: 1px;
    background: linear-gradient(var(--green), var(--line));
}

.timeline-item {
    position: relative;
    padding: 0 0 34px 52px;
}

.timeline-item::before {
    content: "";
    position: absolute;
    top: 5px;
    left: 8px;
    width: 13px;
    height: 13px;
    border: 3px solid var(--green);
    border-radius: 50%;
    background: var(--bg);
    box-shadow: 0 0 22px rgba(84, 239, 100, 0.45);
}

.timeline-date,
.education-date {
    color: var(--green);
    font: 700 0.88rem Consolas, monospace;
}

.company {
    color: #c4cdcf;
    font-weight: 650;
}

.education-grid {
    margin-top: 34px;
}

.education-card strong {
    color: var(--green);
}

.contact {
    background:
        radial-gradient(circle at 86% 45%, rgba(84, 239, 100, 0.18), transparent 28%),
        linear-gradient(135deg, #071014, #05090c);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 30px;
    align-items: center;
}

.email-link {
    color: var(--lime);
    font-weight: 800;
}

footer {
    padding: 30px 0;
}

.footer-inner {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    color: #929fa3;
    font-size: 0.9rem;
}

.footer-inner strong {
    color: white;
}

.reveal {
    opacity: 0;
    transform: translateY(22px);
    transition: 0.7s ease;
}

.reveal.visible {
    opacity: 1;
    transform: none;
}

.toast {
    position: fixed;
    right: 22px;
    bottom: 22px;
    z-index: 70;
    padding: 14px 18px;
    border: 1px solid #3c624d;
    border-radius: 12px;
    background: #0e1d22;
    box-shadow: var(--shadow);
    opacity: 0;
    transform: translateY(20px);
    transition: 0.25s;
}

.toast.show {
    opacity: 1;
    transform: none;
}

@media (max-width: 1100px) {
    .competency-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .competency-card {
        min-height: 240px;
    }
}

@media (max-width: 980px) {
    .nav-links {
        display: none;
    }

    .hero-grid,
    .profile-grid,
    .contact-grid {
        grid-template-columns: 1fr;
    }

    .hero-copy {
        padding-bottom: 24px;
    }

    .portrait-stage {
        min-height: 550px;
    }

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

    .stat:nth-child(2) {
        border-right: 0;
    }

    .stat:nth-child(-n + 2) {
        border-bottom: 1px solid var(--line);
    }
}

@media (max-width: 650px) {
    .nav-cta {
        display: none;
    }

    .hero-copy {
        padding-top: 52px;
    }

    .portrait-stage {
        min-height: 430px;
    }

    .portrait {
        max-height: 480px;
        border-radius: 26px 72px 26px 72px;
    }

    section {
        padding: 72px 0;
    }

    .feature-grid,
    .competency-grid,
    .education-grid,
    .stat-grid {
        grid-template-columns: 1fr;
    }

    .stat {
        border-right: 0;
        border-bottom: 1px solid var(--line);
    }

    .stat:last-child {
        border-bottom: 0;
    }

    .leadership-title {
        font-size: 1.85rem;
    }

    .leadership-number {
        font-size: 2.2rem;
    }

    .leadership-unit {
        font-size: 1rem;
    }

    .footer-inner {
        flex-direction: column;
    }

    h1 {
        font-size: 3.25rem;
    }
}
