:root {
    --primary: #60435D;
    --accent-beige: #EAE2D6;
    --background: #F7F7F8;
    --text-main: #1F1F1F;
    --text-muted: #5A5A5A;
    --white: #FFFFFF;
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.06);
    --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 10px 15px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;

    --category-backend: #60435d;
    --category-quality: #8b5a86;
    --category-data: #4a90a4;
    --category-container: #5c8e8a;
    --category-cicd: #7a7a52;
    --category-security: #a05050;
    --category-frontend: #6b8e4e;
    --category-practices: #c8a882;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
    font-size: 16px;
    line-height: 1.7;
    color: var(--text-main);
    background-color: var(--background);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.header {
    background-color: var(--white);
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.25rem 0;
}

.logo {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--primary);
    text-decoration: none;
    transition: var(--transition);
}

.logo:hover {
    opacity: 0.8;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 4px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.nav-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background-color: var(--primary);
    transition: var(--transition);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
}

.nav-menu a {
    color: var(--text-main);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
    padding: 0.5rem 0;
    border-bottom: 2px solid transparent;
}

.nav-menu a:hover,
.nav-menu a:focus {
    color: var(--primary);
    border-bottom-color: var(--primary);
}

.hero {
    background-color: var(--white);
    padding: 5rem 0;
    text-align: center;
}

.hero h1 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-main);
    max-width: 900px;
    margin: 0 auto 1rem;
    line-height: 1.6;
}

.hero-description {
    font-size: 1.05rem;
    color: var(--text-muted);
    max-width: 800px;
    margin: 0 auto 2.5rem;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn {
    display: inline-block;
    padding: 0.875rem 2rem;
    font-size: 1rem;
    font-weight: 500;
    text-decoration: none;
    border-radius: 6px;
    transition: var(--transition);
    border: 2px solid transparent;
    cursor: pointer;
}

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

.btn-primary:hover,
.btn-primary:focus {
    background-color: #4f3750;
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-secondary {
    background-color: var(--accent-beige);
    color: var(--text-main);
    border-color: var(--accent-beige);
}

.btn-secondary:hover,
.btn-secondary:focus {
    background-color: #d8cfc0;
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.section {
    padding: 5rem 0;
}

.section-alt {
    background-color: var(--white);
}

.section h2 {
    font-size: 2.25rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 2.5rem;
    text-align: center;
}

.section h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-main);
    margin-bottom: 1rem;
}

.content {
    max-width: 900px;
    margin: 0 auto;
}

.content p {
    margin-bottom: 1.5rem;
    font-size: 1.05rem;
}

.content strong {
    color: var(--primary);
    font-weight: 600;
}

.timeline {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    padding-left: 2rem;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 5px;
    top: 0;
    bottom: 0;
    width: 2px;
    background-color: var(--accent-beige);
}

.timeline-item {
    position: relative;
    margin-bottom: 3rem;
}

.timeline-marker {
    position: absolute;
    left: -2rem;
    top: 0;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: var(--primary);
    border: 3px solid var(--white);
    box-shadow: var(--shadow-sm);
}

.timeline-content {
    padding-left: 2rem;
}

.timeline-period {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 0.5rem;
}

.timeline-content h3 {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
}

.timeline-content p {
    color: var(--text-muted);
    line-height: 1.6;
}

.skills-journey {
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
    padding-left: 3rem;
}

.skills-journey::before {
    content: '';
    position: absolute;
    left: 30px;
    top: 0;
    bottom: 0;
    width: 3px;
    background: linear-gradient(180deg, var(--accent-beige), var(--primary));
}

.journey-phase {
    position: relative;
    margin-bottom: 3rem;
    padding-left: 2rem;
}

.journey-phase:last-child {
    margin-bottom: 0;
}

.journey-phase.active .phase-content {
    border-left: 2px solid #c1b3c1;
    background: linear-gradient(90deg, rgba(96,67,93,0.05), transparent);
}

.phase-marker {
    position: absolute;
    left: -2.5rem;
    top: 0;
    width: 3rem;
    height: 3rem;
    background: var(--white);
    border: 3px solid var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    box-shadow: var(--shadow-md);
    z-index: 1;
    cursor: default;
}

.phase-content {
    background: var(--white);
    padding: 2rem;
    border-radius: 8px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.phase-content:hover {
    box-shadow: var(--shadow-md);
    transform: translateX(5px);
}

.phase-content h3 {
    color: var(--primary);
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.phase-description {
    color: var(--text-muted);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.tech-stack {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 1rem;
}

.tech-badge {
    display: inline-block;
    padding: 0.4rem 0.8rem;
    border-radius: 6px;
    font-size: 0.85rem;
    font-weight: 500;
    transition: var(--transition);
    cursor: help;
    position: relative;
}

.tech-badge[data-level="expert"] {
    background-color: var(--primary);
    color: var(--white);
}

.tech-badge[data-level="advanced"] {
    background-color: rgba(96, 67, 93, 0.6);
    color: var(--white);
}

.tech-badge[data-level="proficient"] {
    background-color: var(--accent-beige);
    color: var(--text-main);
}

.tech-badge:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-sm);
}

.tech-badge[data-tooltip]::after {
    content: attr(data-tooltip);
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(-8px);
    background: var(--text-main);
    color: var(--white);
    padding: 0.5rem 0.75rem;
    border-radius: 4px;
    font-size: 0.75rem;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s, transform 0.3s;
    z-index: 1000;
}

.tech-badge[data-tooltip]::before {
    content: '';
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    border: 5px solid transparent;
    border-top-color: var(--text-main);
    opacity: 0;
    transition: opacity 0.3s;
}

.tech-badge[data-tooltip]:hover::after,
.tech-badge[data-tooltip]:hover::before {
    opacity: 1;
}

.tech-badge[data-tooltip]:hover::after {
    transform: translateX(-50%) translateY(-4px);
}

.work-philosophy {
    margin: 3rem auto 0;
    padding: 2rem;
    background: linear-gradient(135deg, var(--primary), #7d5579);
    color: var(--white);
    border-radius: 8px;
    box-shadow: var(--shadow-md);
}

.work-philosophy h3 {
    color: var(--white);
    margin-bottom: 1rem;
    font-size: 1.5rem;
	cursor: default;
}

.work-philosophy ul {
    list-style: none;
    padding: 0;
}

.work-philosophy li {
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
    line-height: 1.6;
}

.work-philosophy li::before {
    content: '✓';
    position: absolute;
    left: 0;
    font-weight: bold;
    color: var(--accent-beige);
}

.badge-category {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 0.75rem;
    padding-top: 0.5rem;
    border-top: 3px solid transparent;
    position: relative;
}

.badge-category[data-category="Core Backend & Architektur"] {
    border-top-color: var(--category-backend);
}

.badge-category[data-category="Qualität, Testing & Runtime"] {
    border-top-color: var(--category-quality);
}

.badge-category[data-category="Datenhaltung"] {
    border-top-color: var(--category-data);
}

.badge-category[data-category="Container & Plattform"] {
    border-top-color: var(--category-container);
}

.badge-category[data-category="CI/CD & GitOps"] {
    border-top-color: var(--category-cicd);
}

.badge-category[data-category="Security & Supply Chain"] {
    border-top-color: var(--category-security);
}

.badge-category[data-category="Frontend & Integration"] {
    border-top-color: var(--category-frontend);
}

.badge-category[data-category="Engineering Practices & Verantwortung"] {
    border-top-color: var(--category-practices);
}

.badge-category::before {
    content: attr(data-category);
    position: absolute;
    top: -2rem;
    left: 0;
    background: var(--text-main);
    color: var(--white);
    padding: 0.35rem 0.6rem;
    border-radius: 4px;
    font-size: 0.7rem;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s;
    z-index: 999;
}

.badge-category[data-category="Core Backend & Architektur"]::before {
    background: var(--category-backend);
}

.badge-category[data-category="Qualität, Testing & Runtime"]::before {
    background: var(--category-quality);
}

.badge-category[data-category="Datenhaltung"]::before {
    background: var(--category-data);
}

.badge-category[data-category="Container & Plattform"]::before {
    background: var(--category-container);
}

.badge-category[data-category="CI/CD & GitOps"]::before {
    background: var(--category-cicd);
}

.badge-category[data-category="Security & Supply Chain"]::before {
    background: var(--category-security);
}

.badge-category[data-category="Frontend & Integration"]::before {
    background: var(--category-frontend);
}

.badge-category[data-category="Engineering Practices & Verantwortung"]::before {
    background: var(--category-practices);
    color: var(--text-main);
}

.badge-category:hover:not(:has(.tech-badge:hover))::before {
    opacity: 1;
}

.outcomes {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1100px;
    margin: 0 auto;
}

.outcome-item {
    background-color: var(--background);
    padding: 2rem;
    border-radius: 8px;
    text-align: center;
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
}

.outcome-item:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.outcome-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    cursor: default;
}

.outcome-item h3 {
    font-size: 1.15rem;
    color: var(--primary);
    margin-bottom: 0.75rem;
    text-align: center;
}

.outcome-item p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

.philosophy-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.philosophy-content .lead {
    font-size: 1.25rem;
    font-weight: 500;
    color: var(--primary);
    margin-bottom: 2rem;
    line-height: 1.6;
}

.philosophy-content p {
    font-size: 1.05rem;
    color: var(--text-main);
    margin-bottom: 1.5rem;
}

.philosophy-content em {
    color: var(--primary);
    font-style: italic;
    font-weight: 500;
}

.contact-wrapper {
    max-width: 600px;
    margin: 0 auto;
}

.contact-intro {
    text-align: center;
    font-size: 1.05rem;
    color: var(--text-muted);
    margin-bottom: 2.5rem;
}

.contact-form {
    background-color: var(--background);
    padding: 2.5rem;
    border-radius: 8px;
    box-shadow: var(--shadow-sm);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    font-weight: 500;
    color: var(--text-main);
    margin-bottom: 0.5rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.875rem;
    border: 2px solid var(--accent-beige);
    border-radius: 6px;
    font-family: inherit;
    font-size: 1rem;
    color: var(--text-main);
    background-color: var(--white);
    transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(96, 67, 93, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.contact-form .btn {
    width: 100%;
    margin-top: 1rem;
}

.footer {
    background-color: var(--primary);
    color: var(--white);
    padding: 2.5rem 0;
    text-align: center;
}

.footer-content {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    align-items: center;
}

.footer-social {
    display: flex;
    gap: 1.5rem;
    align-items: center;
}

.footer-social a {
    color: var(--white);
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.1);
}

.footer-social a:hover,
.footer-social a:focus {
    background-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-3px);
}

.footer-links {
    display: flex;
    gap: 1rem;
    align-items: center;
    flex-wrap: wrap;
    justify-content: center;
}

.footer-links a {
    color: var(--white);
    text-decoration: none;
    opacity: 0.9;
    transition: var(--transition);
}

.footer-links a:hover,
.footer-links a:focus {
    opacity: 1;
    text-decoration: underline;
}

.footer-links .separator {
    opacity: 0.6;
}

.footer p {
    margin: 0;
    opacity: 0.9;
    font-size: 0.9rem;
}

a:focus-visible,
button:focus-visible {
    outline: 2px solid var(--primary);
    outline-offset: 2px;
}

.legal-content {
    max-width: 900px;
    margin: 0 auto;
}

.legal-content h1 {
    font-size: 2.25rem;
    color: var(--primary);
    margin-bottom: 2rem;
}

.legal-content h2 {
    font-size: 1.5rem;
    color: var(--primary);
    margin-top: 2.5rem;
    margin-bottom: 1rem;
    text-align: left;
}

.legal-content h3 {
    font-size: 1.25rem;
    color: var(--text-main);
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
}

.legal-content h4 {
    font-size: 1.1rem;
    color: var(--text-main);
    margin-top: 1rem;
    margin-bottom: 0.5rem;
}

.legal-content p {
    margin-bottom: 1rem;
    line-height: 1.7;
}

.legal-content ul {
    margin-bottom: 1rem;
    padding-left: 2rem;
}

.legal-content li {
    margin-bottom: 0.5rem;
}

.legal-content a {
    color: var(--primary);
    text-decoration: underline;
    transition: var(--transition);
}

.legal-content a:hover,
.legal-content a:focus {
    opacity: 0.8;
}

.legal-content small {
    color: var(--text-muted);
}

.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(135deg, var(--primary) 0%, #7d5579 100%);
    color: var(--white);
    padding: 1.5rem;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.15);
    z-index: 9999;
    transform: translateY(100%);
    transition: transform 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.cookie-banner.show {
    transform: translateY(0);
}

.cookie-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.cookie-icon {
    font-size: 3rem;
    animation: wiggle 2s ease-in-out infinite;
    flex-shrink: 0;
}

@keyframes wiggle {
    0%, 100% { transform: rotate(0deg); }
    25% { transform: rotate(-10deg); }
    75% { transform: rotate(10deg); }
}

.cookie-text {
    flex: 1;
}

.cookie-text h3 {
    margin: 0 0 0.5rem 0;
    font-size: 1.25rem;
    font-weight: 600;
}

.cookie-text p {
    margin: 0;
    font-size: 0.95rem;
    opacity: 0.95;
    line-height: 1.5;
}

.cookie-btn {
    background-color: var(--accent-beige);
    color: var(--primary);
    border: none;
    padding: 0.875rem 2rem;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 6px;
    cursor: pointer;
    transition: var(--transition);
    white-space: nowrap;
    flex-shrink: 0;
}

.cookie-btn:hover,
.cookie-btn:focus {
    background-color: #d8cfc0;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

@media (max-width: 768px) {
    .nav-toggle {
        display: flex;
    }

    .nav-menu {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background-color: var(--white);
        flex-direction: column;
        gap: 0;
        box-shadow: var(--shadow-md);
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
    }

    .nav-menu.active {
        max-height: 400px;
    }

    .nav-menu li {
        width: 100%;
    }

    .nav-menu a {
        display: block;
        padding: 1rem 20px;
        border-bottom: 1px solid var(--background);
    }

    .hero h1 {
        font-size: 1.75rem;
    }

    .hero-subtitle {
        font-size: 1.05rem;
    }

    .hero-description {
        font-size: 0.95rem;
    }

    .section h2 {
        font-size: 1.75rem;
    }

    .hero {
        padding: 3rem 0;
    }

    .section {
        padding: 3rem 0;
    }

    .timeline {
        padding-left: 1.5rem;
    }

    .timeline-marker {
        left: -1.5rem;
    }

    .timeline-content {
        padding-left: 1.5rem;
    }

    .phase-marker {
        left: -2rem;
        width: 2.5rem;
        height: 2.5rem;
        font-size: 1.25rem;
    }

    .journey-phase {
        padding-left: 1.5rem;
    }

    .phase-content {
        padding: 1.5rem;
    }

    .phase-content h3 {
        font-size: 1.25rem;
    }

    .tech-badge {
        font-size: 0.8rem;
        padding: 0.35rem 0.7rem;
    }

    .work-philosophy {
        padding: 1.5rem;
    }

    .outcomes {
        grid-template-columns: 1fr;
    }

    .contact-form {
        padding: 1.5rem;
    }

    .cookie-content {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }

    .cookie-icon {
        font-size: 2.5rem;
    }

    .cookie-btn {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 1.5rem;
    }

    .hero-actions {
        flex-direction: column;
    }

    .btn {
        width: 100%;
    }
}

@media print {
    * {
        -webkit-print-color-adjust: exact;
        print-color-adjust: exact;
    }

    body {
        background: white;
        font-size: 10pt;
        line-height: 1.4;
    }

    main {
        display: flex;
        flex-direction: column;
    }

    .hero {
        order: 1;
        page-break-before: avoid;
    }

    #ueber-mich {
        order: 1;
        page-break-before: avoid;
    }

    #philosophie {
        order: 2;
        page-break-before: avoid;
		
		p {
			margin: 0.5rem auto 0.5rem;
		}
    }

    #skills {
        order: 3;
        page-break-before: always;
    }

    #karriere {
        order: 4;
        page-break-before: always;
    }

    #projekte {
        order: 5;
        page-break-before: always;
    }

    .header,
    .nav,
    .nav-toggle,
    .cookie-banner,
    .hero-actions,
    .footer-social,
    .footer-links,
    #kontakt {
        display: none !important;
    }

    .hero {
        padding: 0;
        margin-bottom: 1.5rem;
        border-bottom: 3px solid var(--primary);
        padding-bottom: 1rem;
    }

    .hero h1 {
        font-size: 1.5rem;
        margin-bottom: 0.25rem;
    }

    .hero-subtitle {
        font-size: 0.9rem;
        margin-bottom: 0.5rem;
        font-weight: 600;
    }

    .hero-description {
        display: none;
    }

    .hero::after {
        content: "E-Mail: recruiting@leon-heinrichs.de | GitLab: gitlab.com/leonhe97 | XING: xing.com/profile/Leon_Heinrichs4";
        display: block;
        margin-top: 0.5rem;
        font-size: 0.75rem;
        color: var(--text-muted);
    }

    .footer {
        margin-top: 1rem;
        padding: 0.5rem 0;
        background: transparent;
        border-top: 1px solid #ddd;
    }

    .footer p {
        color: var(--text-main);
        text-align: center;
        font-size: 0.65rem;
    }

    .section {
        padding: 1rem 0;
    }

    .section h2 {
        font-size: 1.1rem;
        margin-bottom: 0.75rem;
        page-break-after: avoid;
        break-after: avoid;
    }

    .skills-journey {
        padding-left: 2rem;
    }

    .skills-journey::before {
        left: 1rem;
    }

    .journey-phase {
        margin-bottom: 1.25rem;
        padding-left: 1.5rem;
        page-break-inside: avoid;
    }

    .phase-marker {
        left: -2rem;
        width: 2rem;
        height: 2rem;
        font-size: 1rem;
        border-width: 2px;
    }

    .phase-content {
        padding: 0.75rem 1rem;
        box-shadow: none;
        border: 1px solid #ddd;
    }

    .phase-content:hover {
        transform: none;
        box-shadow: none;
    }

    .phase-content h3 {
        font-size: 0.95rem;
        margin-bottom: 0.35rem;
    }

    .phase-description {
        font-size: 0.75rem;
        margin-bottom: 0.5rem;
        line-height: 1.3;
    }

    .tech-stack {
        gap: 0.3rem;
        margin-top: 0.5rem;
    }

    .tech-badge {
        font-size: 0.65rem;
        padding: 0.2rem 0.5rem;
    }

    .tech-badge:hover {
        transform: none;
        box-shadow: none;
    }

    .tech-badge[data-tooltip]::after,
    .tech-badge[data-tooltip]::before {
        display: none;
    }

    .badge-category {
        margin-bottom: 0.5rem;
        padding-top: 0.35rem;
        border-top-width: 1px;
    }

    .badge-category::before {
        display: none;
    }

    .work-philosophy {
        margin-top: 1rem;
        padding: 0.75rem 1rem;
        page-break-inside: avoid;
    }

    .work-philosophy h3 {
        font-size: 0.95rem;
        margin-bottom: 0.5rem;
    }

    .work-philosophy li {
        font-size: 0.75rem;
        padding: 0.25rem 0;
        padding-left: 1.25rem;
        line-height: 1.3;
    }

    .timeline {
        padding-left: 1.25rem;
    }

    .timeline::before {
        left: 0.625rem;
    }

    .timeline-item {
        margin-bottom: 1rem;
        padding-left: 1.25rem;
        page-break-inside: avoid;
    }

    .timeline-marker {
        left: -1.3rem;
        width: 1.5rem;
        height: 1.5rem;
    }

    .timeline-content h3 {
        font-size: 0.9rem;
        margin-bottom: 0.25rem;
    }

    .timeline-content .company,
    .timeline-content .period {
        font-size: 0.75rem;
    }

    .timeline-content p,
    .timeline-content ul li {
        font-size: 0.75rem;
        line-height: 1.3;
    }

    .content p {
        font-size: 0.8rem;
        line-height: 1.4;
        margin-bottom: 0.75rem;
    }

    .outcomes {
        gap: 1rem;
        page-break-inside: avoid;
    }

    .outcome-item {
        padding: 0.75rem;
        page-break-inside: avoid;
    }

    .outcome-item:hover {
        transform: none;
        box-shadow: var(--shadow-sm);
    }

    .outcome-icon {
        font-size: 1.5rem;
        margin-bottom: 0.5rem;
    }

    .outcome-item h3 {
        font-size: 0.85rem;
        margin-bottom: 0.35rem;
    }

    .outcome-item p {
        font-size: 0.75rem;
        line-height: 1.3;
    }

    .philosophy-content p {
        font-size: 0.8rem;
        line-height: 1.4;
        margin-bottom: 0.75rem;
    }

    .philosophy-content .lead {
        font-size: 0.95rem;
    }

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

    a[href^="http"]::after {
        content: "";
    }
}
