:root {
      --bg: #eef1f7; --surface: #ffffff; --surface2: #e4e9f2; --border: #cdd5e4;
      --text: #2c3a54; --text-strong: #0f1d38; --muted: #6b7a99;
      --accent: #1e4fa8; --accent-dim: rgba(30,79,168,0.09); --accent-glow: rgba(30,79,168,0.22);
      --tech: #1e4fa8; --tech-dim: rgba(30,79,168,0.09); --tech-glow: rgba(30,79,168,0.22);
      --nav-bg: #122048; --nav-border: #1e3060;
      --font-head: 'Cambria', 'Palatino Linotype', 'Book Antiqua', Georgia, serif;
      --font-body: 'Calibri', 'Gill Sans MT', 'Trebuchet MS', Arial, sans-serif;
      --font-mono: 'Consolas', 'Courier New', monospace;
      --radius: 2px; --radius-btn: 3px; --transition: 220ms cubic-bezier(0.4,0,0.2,1);
      --active-color: var(--accent); --active-dim: var(--accent-dim);
    }
    *, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
    html { scroll-behavior: smooth; }
    body { background: var(--bg); color: var(--text); font-family: var(--font-body); line-height: 1.65; -webkit-font-smoothing: antialiased; }
    ::selection { background: var(--accent-dim); color: var(--text-strong); }
    /* NAV */
    nav { position: fixed; top: 0; left: 0; right: 0; z-index: 100; display: flex; align-items: center; justify-content: space-between; padding: 0 2.5rem; height: 60px; background: var(--nav-bg); backdrop-filter: none; border-bottom: 1px solid var(--nav-border); transition: none; }
    nav.scrolled { border-bottom-color: var(--nav-border); }
    .nav-name { font-family: var(--font-head); font-size: 1.05rem; font-weight: 700; color: #ffffff; text-decoration: none; letter-spacing: 0.01em; }
    .nav-name span { color: #7aaee8; }
    .nav-links { display: flex; gap: 2rem; list-style: none; }
    .nav-links a { font-size: 0.8rem; font-weight: 600; color: #8aadd4; text-decoration: none; letter-spacing: 0.08em; text-transform: uppercase; transition: color var(--transition); }
    .nav-links a:hover { color: #ffffff; }
    /* HERO — dark navy full-screen first impression */
    #hero { min-height: 100vh; display: flex; align-items: center; padding: 80px 2.5rem 4rem; position: relative; overflow: hidden; background: var(--nav-bg); }
    .hero-bg { position: absolute; inset: 0; z-index: 0; background: radial-gradient(ellipse 60% 80% at 70% 50%, rgba(30,79,168,0.18) 0%, transparent 70%); }
    .hero-grid { position: absolute; inset: 0; z-index: 0; background-image: linear-gradient(rgba(255,255,255,0.04) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,0.04) 1px, transparent 1px); background-size: 60px 60px; opacity: 1; mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black, transparent); }
    .hero-inner { position: relative; z-index: 1; max-width: 1100px; margin: 0 auto; width: 100%; display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 4rem; }
    .hero-tag { display: inline-flex; align-items: center; gap: 0.5rem; font-family: var(--font-mono); font-size: 0.72rem; font-weight: 600; color: #7aaee8; letter-spacing: 0.12em; text-transform: uppercase; margin-bottom: 1.25rem; opacity: 0; animation: fadeUp 0.6s 0.1s ease forwards; }
    .hero-tag::before { content: ''; display: inline-block; width: 20px; height: 2px; background: #7aaee8; flex-shrink: 0; }
    .hero-name { font-family: var(--font-head); font-size: clamp(2.8rem, 6.5vw, 5rem); font-weight: 700; line-height: 1.05; letter-spacing: -0.01em; color: #ffffff; margin-bottom: 1rem; opacity: 0; animation: fadeUp 0.6s 0.25s ease forwards; }
    .hero-name .accent { color: #7aaee8; }
    .hero-subtitle { font-size: 1rem; font-weight: 400; color: #a8c0de; max-width: 520px; margin-bottom: 2.5rem; opacity: 0; animation: fadeUp 0.6s 0.4s ease forwards; line-height: 1.75; }
    .hero-ctas { display: flex; gap: 1rem; flex-wrap: wrap; opacity: 0; animation: fadeUp 0.6s 0.55s ease forwards; }
    .hero-photo-wrap { opacity: 0; animation: fadeUp 0.6s 0.3s ease forwards; flex-shrink: 0; }
    .hero-photo { width: 440px; height: 550px; object-fit: cover; object-position: center top; border-radius: 4px; border: 2px solid rgba(255,255,255,0.15); filter: grayscale(15%); display: block; }
    /* BTNS */
    .btn { display: inline-flex; align-items: center; gap: 0.5rem; padding: 0.75rem 1.5rem; border-radius: var(--radius-btn); font-family: var(--font-body); font-size: 0.9rem; font-weight: 600; text-decoration: none; cursor: pointer; border: none; transition: all var(--transition); letter-spacing: 0.02em; }
    .btn-primary { background: var(--accent); color: #ffffff; }
    .btn-primary:hover { background: #2660c8; transform: translateY(-1px); box-shadow: 0 4px 20px var(--accent-glow); }
    .btn-ghost { background: transparent; color: #c8d8f0; border: 1px solid rgba(255,255,255,0.25); }
    .btn-ghost:hover { border-color: rgba(255,255,255,0.55); color: #ffffff; transform: translateY(-1px); }
    /* SECTIONS */
    section { padding: 6rem 2.5rem; }
    .section-inner { max-width: 1100px; margin: 0 auto; }
    .section-label { font-family: var(--font-mono); font-size: 0.68rem; font-weight: 600; color: var(--accent); letter-spacing: 0.18em; text-transform: uppercase; margin-bottom: 0.75rem; }
    .section-title { font-family: var(--font-head); font-size: clamp(1.75rem, 4vw, 2.6rem); font-weight: 700; color: var(--text-strong); letter-spacing: 0; line-height: 1.15; margin-bottom: 3rem; }
    /* CV */
    #lebenslauf { background: var(--bg); }
    .cv-toggle { display: flex; gap: 0; margin-bottom: 3rem; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-btn); padding: 4px; width: fit-content; }
    .toggle-btn { padding: 0.55rem 1.25rem; border-radius: var(--radius); font-family: var(--font-body); font-size: 0.85rem; font-weight: 600; cursor: pointer; border: none; background: transparent; color: var(--muted); transition: all var(--transition); letter-spacing: 0.01em; }
    .toggle-btn.active { background: var(--active-color); color: #ffffff; border-radius: var(--radius); }
    .cv-pane { display: none; }
    .cv-pane.active { display: block; animation: fadeIn 0.3s ease; }
    .cv-profile { background: var(--surface); border: 1px solid var(--border); border-left: 3px solid var(--accent); border-radius: 0; padding: 1.5rem 2rem; margin-bottom: 2.5rem; font-size: 1rem; line-height: 1.85; }
    .cv-timeline { display: flex; flex-direction: column; gap: 0; margin-bottom: 2.5rem; }
    .cv-entry { display: grid; grid-template-columns: 190px 1fr; gap: 0 2rem; padding: 1.75rem 0; border-bottom: 1px solid var(--border); }
    .cv-entry:first-child { padding-top: 0; }
    .cv-entry:last-child { border-bottom: none; }
    .cv-period { font-family: var(--font-mono); font-size: 0.7rem; color: var(--accent); letter-spacing: 0.05em; margin-bottom: 0.3rem; }
    .cv-company { font-size: 0.78rem; color: var(--muted); line-height: 1.5; }
    .cv-role { font-family: var(--font-head); font-size: 1.05rem; font-weight: 700; color: var(--text-strong); margin-bottom: 0.75rem; }
    .cv-points { list-style: none; display: flex; flex-direction: column; gap: 0.4rem; }
    .cv-points li { font-size: 0.875rem; color: var(--text); padding-left: 1.2rem; position: relative; }
    .cv-points li::before { content: '–'; position: absolute; left: 0; color: var(--accent); font-size: 0.85rem; top: 0; line-height: inherit; }
    .cv-beschreibung { font-size: 0.825rem; color: var(--muted); line-height: 1.8; margin-top: 0.75rem; font-style: italic; border-left: 2px solid var(--border); padding-left: 0.75rem; }
    .cv-abschluss { font-size: 0.8rem; color: var(--muted); margin-top: 0.4rem; }
    .cv-ohne-abschluss { font-size: 0.7rem; font-family: var(--font-mono); color: var(--muted); opacity: 0.6; margin-top: 0.3rem; }
    .cv-tags { display: flex; flex-wrap: wrap; gap: 0.35rem; margin-top: 0.75rem; }
    .cv-tag { display: inline-flex; padding: 0.2rem 0.65rem; font-size: 0.7rem; font-weight: 500; font-family: var(--font-mono); background: var(--accent-dim); color: var(--accent); border: 1px solid rgba(30,79,168,0.2); }
    .cv-category-divider { display: flex; align-items: center; gap: 1rem; margin: 2.5rem 0 1.5rem; }
    .cv-category-divider span { font-family: var(--font-mono); font-size: 0.68rem; font-weight: 600; color: var(--accent); letter-spacing: 0.16em; text-transform: uppercase; white-space: nowrap; }
    .cv-category-divider::before { content: ''; flex: 0 0 3px; height: 1.1rem; background: var(--accent); }
    .cv-category-divider::after { content: ''; flex: 1; height: 1px; background: var(--border); }
    /* Weiterbildung pane */
    .wb-pane-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 0.6rem; }
    .wb-card { background: var(--surface); border: 1px solid var(--border); border-left: 3px solid var(--border); padding: 1rem 1.25rem; transition: border-left-color var(--transition), box-shadow var(--transition); }
    .wb-card:hover { border-left-color: var(--accent); box-shadow: 0 2px 8px rgba(30,79,168,0.1); }
    .wb-card-header { display: flex; align-items: baseline; gap: 0.75rem; margin-bottom: 0.4rem; }
    .wb-card-date { font-family: var(--font-mono); font-size: 0.63rem; color: var(--accent); white-space: nowrap; flex-shrink: 0; font-weight: 600; }
    .wb-card-name { font-size: 0.88rem; color: var(--text-strong); font-weight: 700; font-family: var(--font-head); }
    .wb-card-points { list-style: none; margin-top: 0.4rem; display: flex; flex-direction: column; gap: 0.2rem; }
    .wb-card-points li { font-size: 0.78rem; color: var(--text); padding-left: 1rem; position: relative; line-height: 1.55; }
    .wb-card-points li::before { content: '–'; position: absolute; left: 0; color: var(--accent); opacity: 0.6; }
    .wb-card-tags { display: flex; flex-wrap: wrap; gap: 0.3rem; margin-top: 0.6rem; }
    .wb-card-tag { display: inline-flex; padding: 0.15rem 0.55rem; font-size: 0.66rem; font-family: var(--font-mono); background: var(--accent-dim); color: var(--accent); border: 1px solid rgba(30,79,168,0.2); }
    /* CV TECH */
    .tech-section-title { font-family: var(--font-mono); font-size: 0.68rem; color: var(--accent); letter-spacing: 0.12em; text-transform: uppercase; margin-bottom: 1rem; display: flex; align-items: center; gap: 0.75rem; font-weight: 600; }
    .tech-section-title::after { content: ''; flex: 1; height: 1px; background: var(--border); }
    .stack-grid { display: flex; flex-wrap: wrap; gap: 0.4rem; margin-bottom: 2.5rem; }
    .stack-tag { padding: 0.3rem 0.75rem; border-radius: 0; font-family: var(--font-mono); font-size: 0.7rem; background: var(--surface); color: var(--accent); border: 1px solid var(--border); transition: all var(--transition); }
    .stack-tag:hover { background: var(--accent-dim); border-color: var(--accent); }
    .tech-projects { display: flex; flex-direction: column; gap: 1.25rem; margin-bottom: 2.5rem; }
    .tech-project { background: var(--surface); border: 1px solid var(--border); border-left: 3px solid var(--accent); border-radius: 0; padding: 1.25rem 1.5rem; }
    .tech-project-header { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; margin-bottom: 0.75rem; flex-wrap: wrap; }
    .tech-project-name { font-family: var(--font-head); font-size: 0.95rem; font-weight: 700; color: var(--text-strong); }
    .tech-project-period { font-family: var(--font-mono); font-size: 0.68rem; color: var(--accent); white-space: nowrap; }
    .tech-points { list-style: none; display: flex; flex-direction: column; gap: 0.3rem; }
    .tech-points li { font-size: 0.85rem; color: var(--text); padding-left: 1.2rem; position: relative; }
    .tech-points li::before { content: '–'; position: absolute; left: 0; color: var(--accent); font-size: 0.85rem; top: 0; line-height: inherit; }
    .tech-beschreibung { font-size: 0.8rem; color: var(--muted); line-height: 1.8; margin-top: 0.75rem; font-style: italic; border-left: 2px solid var(--border); padding-left: 0.75rem; }
    .weiterbildung-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 0.5rem; }
    .wb-item { background: var(--surface); border: 1px solid var(--border); border-radius: 0; padding: 0.75rem 1rem; border-left: 2px solid var(--border); transition: border-left-color var(--transition); }
    .wb-item:hover { border-left-color: var(--accent); }
    .wb-header { display: flex; align-items: baseline; gap: 0.75rem; }
    .wb-date { font-family: var(--font-mono); font-size: 0.63rem; color: var(--accent); white-space: nowrap; flex-shrink: 0; }
    .wb-title { font-size: 0.8rem; color: var(--text); font-weight: 600; }
    .wb-points { list-style: none; margin-top: 0.4rem; display: flex; flex-direction: column; gap: 0.15rem; }
    .wb-points li { font-size: 0.73rem; color: var(--muted); padding-left: 1rem; position: relative; line-height: 1.5; }
    .wb-points li::before { content: '–'; position: absolute; left: 0; color: var(--accent); opacity: 0.5; font-size: 0.8rem; }
    /* ARTICLES */
    #artikel { background: var(--surface2); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
    .articles-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(460px, 1fr)); gap: 1.5rem; }
    a.article-card { display: block; text-decoration: none; background: var(--surface); border: 1px solid var(--border); border-radius: 0; overflow: hidden; transition: border-color var(--transition), box-shadow var(--transition), transform var(--transition); box-shadow: 0 1px 4px rgba(0,0,0,0.05); }
    a.article-card:hover { border-color: var(--accent); box-shadow: 0 4px 16px rgba(30,79,168,0.12); transform: translateY(-2px); }
    .article-card-inner { padding: 1.75rem 2rem; }
    .article-meta { display: flex; align-items: center; gap: 1rem; margin-bottom: 1rem; }
    .article-cat { font-family: var(--font-mono); font-size: 0.63rem; font-weight: 600; color: var(--accent); letter-spacing: 0.12em; text-transform: uppercase; }
    .article-time { font-size: 0.75rem; color: var(--muted); }
    .article-title { font-family: var(--font-head); font-size: 1.1rem; font-weight: 700; color: var(--text-strong); line-height: 1.35; margin-bottom: 0.75rem; }
    .article-teaser { font-size: 0.875rem; color: var(--text); line-height: 1.8; margin-bottom: 1.25rem; }
    .article-read-link { display: inline-flex; align-items: center; gap: 0.4rem; font-size: 0.8rem; font-weight: 600; color: var(--accent); transition: gap var(--transition); }
    a.article-card:hover .article-read-link { gap: 0.7rem; }
    .article-read-link .arrow { font-size: 1rem; }
    /* KONTAKT */
    #kontakt { background: var(--bg); }
    .contact-box { background: var(--surface); border: 1px solid var(--border); border-radius: 0; border-top: 3px solid var(--accent); padding: 3rem; display: flex; align-items: center; justify-content: space-between; gap: 2rem; flex-wrap: wrap; box-shadow: 0 2px 8px rgba(0,0,0,0.06); }
    .contact-text h2 { font-family: var(--font-head); font-size: 1.7rem; font-weight: 700; color: var(--text-strong); margin-bottom: 0.5rem; }
    .contact-text p { font-size: 0.95rem; color: var(--muted); max-width: 420px; }
    .contact-links { display: flex; gap: 1rem; flex-wrap: wrap; align-items: center; }
    /* FOOTER */
    footer { border-top: 1px solid var(--border); padding: 1.5rem 2.5rem; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 1rem; background: var(--surface); }
    footer p { font-size: 0.75rem; color: var(--muted); font-family: var(--font-mono); }
    /* ANIMATIONS */
    @keyframes fadeUp { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: translateY(0); } }
    @keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
    .reveal { opacity: 0; transform: translateY(20px); transition: opacity 0.6s ease, transform 0.6s ease; }
    .reveal.visible { opacity: 1; transform: none; }
    /* RESPONSIVE */
    @media (max-width: 900px) { .hero-inner { grid-template-columns: 1fr; } .hero-photo-wrap { display: none; } }
    @media (max-width: 768px) { nav { padding: 0 1.25rem; } section { padding: 4rem 1.25rem; } .cv-entry { grid-template-columns: 1fr; gap: 0.25rem; } .articles-grid { grid-template-columns: 1fr; } .contact-box { padding: 2rem; } }
