/* Globale Stile & Variablen */
:root {
    /* --- ANPASSEN --- */
    --accent-color: #087ea4; /* Blauton */
    /* --accent-color: #008080; /* Teal */
    /* --accent-color: #c84b31; /* Rostrot */
    --text-color: #333333;
    --background-color: #ffffff;
    --subtle-gray: #e9e9e9; /* Etwas dunkleres Grau für Linien/Kontrast */
    --intro-bg-color: #f8f8fa; /* Sehr heller, leicht bläulicher/grauer Hintergrund für Intro */
    --heading-font: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    --body-font: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    /* --- --- */

    --container-width: 760px;
    font-size: 16px;
}

/* Basis-Reset & Body */
body {
    font-family: var(--body-font);
    line-height: 1.7;
    color: var(--text-color);
    background-color: var(--background-color);
    margin: 0;
    padding: 0; /* Kein Padding am Body direkt */
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Container */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 40px 20px; /* Padding hier */
}

/* Typografie */
h1, h2, h3 {
    font-family: var(--heading-font);
    font-weight: 700;
    line-height: 1.3;
    margin-top: 2em;
    margin-bottom: 0.8em;
    color: #111;
}

h1 {
    font-size: 2.5rem; /* 40px */
    margin-top: 0;
    margin-bottom: 0.2em; /* Näher an Subtitle */
}

h2 {
    font-size: 1.5rem; /* 24px */
    border-bottom: 2px solid var(--accent-color); /* Akzentfarbe für Linie */
    padding-bottom: 0.4em;
    margin-top: 3em; /* Mehr Abstand vor Sections */
}

h3 {
    font-size: 1.125rem; /* 18px */
    font-weight: 700;
    margin-top: 1.5em;
    margin-bottom: 0.2em;
    color: var(--text-color);
}

p {
    margin-top: 0;
    margin-bottom: 1.25em;
}

a {
    color: var(--accent-color);
    text-decoration: none;
    transition: color 0.2s ease-in-out, border-bottom 0.2s ease-in-out;
}

a:hover, a:focus {
    color: var(--text-color);
    text-decoration: underline;
}

/* Intro / Header */
.intro {
    background-color: var(--intro-bg-color); /* Heller Hintergrund für die Intro-Box */
    padding: 30px 40px; /* Innenabstand */
    margin: 40px auto; /* Abstand oben/unten, zentriert */
    border-radius: 8px; /* Leicht abgerundete Ecken */
    display: flex; /* Aktiviert Flexbox */
    align-items: center; /* Vertikal zentrieren */
    gap: 40px; /* Abstand zwischen Foto und Text */
    max-width: calc(var(--container-width) + 80px); /* Etwas breiter als Container wegen Padding */
    /* Reset Container Padding für diesen speziellen Block */
    box-sizing: border-box;
    width: 100%; /* Volle Breite des Elternelements (normalerweise body oder container) */
}

.intro-photo img {
    display: block;
    width: 150px; /* Größe des Fotos */
    height: 150px;
    border-radius: 50%; /* Rundes Foto */
    object-fit: cover; /* Verhindert Verzerrung */
    border: 4px solid var(--background-color); /* Weißer Rand ums Foto */
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1); /* Dezenter Schatten */
}

.intro-text {
    flex: 1; /* Nimmt den restlichen Platz ein */
}

.intro .subtitle {
    font-size: 1.125rem; /* 18px */
    color: #555;
    margin-top: 0em;
    margin-bottom: 1em;
}

.intro .bio {
    font-size: 1rem; /* 16px */
}

/* Social Links (im Intro) */
.intro .social-links {
    list-style: none;
    padding: 0;
    margin: 1.5em 0 0 0;
}

.intro .social-links li {
    display: inline-block;
    margin-right: 1.5em;
}

.intro .social-links a {
    font-weight: 400;
    font-size: 1rem;
    color: var(--text-color);
    border: none;
    text-decoration: underline;
    text-decoration-color: var(--subtle-gray);
    transition: text-decoration-color 0.2s ease;
}
.intro .social-links a:hover,
.intro .social-links a:focus {
    color: var(--accent-color);
    text-decoration-color: var(--accent-color);
}

/* Sections */
section {
    margin-bottom: 3em;
    /* Container-Padding wird vom .container Div gehandhabt */
}

/* Skills Section - Minimalist List */
.skills-list {
    font-size: 0.95rem;
    color: #444;
    line-height: 1.8;
}

.skills-list .separator {
    color: #ccc; /* Hellerer Separator */
    margin: 0 0.5em;
}

/* Experience Section */
.job {
    margin-bottom: 2em;
}

.job .company-date {
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 0.5em;
    display: block;
}
.job .company-date .separator {
    color: #ccc;
    margin: 0 0.4em;
}

.job p {
    margin-bottom: 0.5em;
}

.more-experience {
    font-size: 0.9rem;
    color: #555;
    margin-top: 1em;
}

/* Footer */
footer {
    margin-top: 5em;
    padding-top: 2em;
    border-top: 2px solid var(--subtle-gray);
    text-align: center;
}

footer h2 {
    border: none;
    font-size: 1.25rem;
    margin-bottom: 0.5em;
}

footer p {
    font-size: 0.95rem;
    color: #555;
    margin-bottom: 1.5em;
}

footer .social-links {
    list-style: none;
    padding: 0;
    margin-bottom: 2em;
}

footer .social-links li {
    display: inline-block; /* Nebeneinander */
    margin: 0 1em;
}
footer .social-links a { /* Styling für Footer-Links evtl. anpassen */
     font-weight: 400;
    font-size: 1rem;
    color: var(--text-color);
    border: none;
    text-decoration: underline;
    text-decoration-color: var(--subtle-gray);
    transition: text-decoration-color 0.2s ease;
}
footer .social-links a:hover,
footer .social-links a:focus {
    color: var(--accent-color);
    text-decoration-color: var(--accent-color);
}


footer .copyright {
    font-size: 0.8rem;
    color: #aaa;
    margin-top: 2em;
    margin-bottom: 0;
}

/* Responsive Anpassungen */
@media (max-width: 768px) {
    .container {
        padding: 20px 15px; /* Weniger seitliches Padding auf Mobil */
    }

    .intro {
        flex-direction: column; /* Foto über Text auf kleinen Bildschirmen */
        padding: 25px;
        gap: 25px; /* Abstand zwischen Foto und Text (vertikal) */
        margin: 20px auto; /* Weniger Abstand oben/unten */
        max-width: 100%; /* Volle Breite auf Mobil */
    }

    .intro-photo img {
        width: 120px; /* Etwas kleineres Foto auf Mobil */
        height: 120px;
        margin: 0 auto; /* Zentrieren */
    }

    .intro-text {
        text-align: center; /* Text zentrieren auf Mobil */
    }

    .intro .social-links {
        justify-content: center; /* Links zentrieren */
    }
    .intro .social-links li {
       margin: 0 0.8em;
    }

     h1 {
        font-size: 2rem; /* 32px */
    }
    h2 {
        font-size: 1.3rem; /* 21px */
    }
}