/* 1) HTML & Body auf 100% Höhe setzen + Flexbox-Layout für sticky Footer */
html, body {
    height: 100%;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Open Sans', Arial, sans-serif;
    background-color: #f7f9fc; /* Hell, dezent fürs Auge */
    color: #333;
    display: flex;           /* Flex-Container für Sticky-Footer */
    flex-direction: column;
}

/* Container für Hauptinhalte: wächst automatisch */
.page-content {
    flex: 1 0 auto;         /* Wächst, um den Footer nach unten zu drücken */
}

/* --- Header / Navigation --- */
.main-header {
    background-color: #fff;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 1.5rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.logo a {
    color: #007bff;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.1rem;
}

.main-nav ul {
    list-style: none;
    display: flex;
    gap: 1rem;
    margin: 0; /* Reset */
    padding: 0; /* Reset */
}

.main-nav a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    padding-bottom: 2px;
    border-bottom: 2px solid transparent;
    transition: all 0.2s ease;
}

.main-nav a:hover,
.main-nav a.active {
    color: #007bff;
    border-bottom: 2px solid #007bff;
}

/* --- Hero / Intro --- */
.hero {
    max-width: 800px;
    margin: 0.5rem auto 1rem;
    padding: 0.75rem 1.5rem;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.hero-content {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    max-width: 800px;
    margin: 0 auto;
    padding: 1rem 1.5rem;
    gap: 1.5rem;
}

.profile-img {
    width: 180px;
    height: 180px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
}

.hero-text {
    flex: 1;
    min-width: 220px;
}

.hero-text h1 {
    margin: 0;
    font-size: 1.5rem;
}

.hero li {
    margin-bottom: 0.5rem;
}

/* Unterpunkte in Hero-Liste */
.hero > ul {
    list-style: none;
    padding-left: 1.25rem;
    margin: 0.5rem 0 0 0;
}

.hero > ul li {
    margin-bottom: 0.3rem;
    position: relative;
}

.hero > ul li::before {
    content: "• ";
    color: #007bff;
    font-weight: 700;
    position: absolute;
    left: -1.25rem;
}

/* Subtitle */
.subtitle {
    font-size: 0.95rem;
    color: #555;
    font-family: monospace;
    margin: 0.25rem 0 0.5rem;
}

.badges {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
}

.badges img {
    height: 135px;
    object-fit: contain;
}

/* --- Services & CTA --- */
.services {
    max-width: 800px;
    margin: 0 auto 1.5rem;
    background-color: #fff;
    padding: 1rem 1.5rem;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.services h2 {
    color: #007bff;
    margin-bottom: 0.5rem;
    font-size: 1.3rem;
}

/* Oberste Aufzählung (Cloud, DevOps, etc.) */
.services > ul {
    list-style: none;
    padding-left: 1.25rem;
    margin: 1rem 0 0 0;
}

.services > ul li {
    margin-bottom: 1.3rem;
    position: relative;
}

.services > ul li::before {
    content: "• ";
    color: #007bff;
    font-weight: 700;
    position: absolute;
    left: -1.25rem;
}

/* CTA Buttons */
.cta-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap; /* Damit sie auf schmalen Screens nicht überlaufen */
    margin-top: 1rem;
}

.cta-button {
    display: inline-block;
    background-color: #007bff;
    color: #fff;
    text-decoration: none;
    font-weight: 600;
    padding: 0.6rem 1rem;
    border-radius: 6px;
    transition: background-color 0.3s ease;
}

.cta-button:hover {
    background-color: #0056b3;
}

.cta-email {
    background-color: #28a745; /* E-Mail Button in grünem Akzent */
}

.cta-email:hover {
    background-color: #218838;
}

/* LinkedIn-Button im typischen Blauton */
.cta-linkedin {
    background-color: #0A66C2;
}

.cta-linkedin:hover {
    background-color: #004182;
}

/* --- Footer Sticky Fix --- */
footer {
    flex-shrink: 0;          /* Verhindert, dass Footer hochrutscht */
    background-color: #fff;
    text-align: center;
    padding: 1rem;
    color: #555;
    border-top: 1px solid #eee;
}

footer a {
    color: #007bff;
    text-decoration: none;
    font-weight: 500;
}

footer a:hover {
    text-decoration: underline;
}

/* --- Responsive --- */
@media (max-width: 600px) {
    .hero-content {
        flex-direction: column;
        align-items: flex-start;
    }

    .main-nav ul {
        gap: 0.5rem;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: flex-start;
    }
}

/* --- Impressum Container (falls benötigt) --- */
.impressum-container {
    max-width: 800px;
    margin: 1rem auto;
    padding: 1.5rem;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    line-height: 1.5;
}

.impressum-container h1 {
    font-size: 1.4rem;
    margin-bottom: 1rem;
    color: #007bff;
}

.impressum-container h2 {
    font-size: 1.2rem;
    margin: 1.5rem 0 0.75rem;
    color: #007bff;
}

.impressum-container p {
    margin-bottom: 1rem;
}

.impressum-container hr {
    border: none;
    border-top: 1px solid #ddd;
    margin: 1.5rem 0;
}
