/* ===================================
   GRUNDLEGENDE STYLES
   =================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #2c3e50;
    background-color: #ecf0f1;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

h1, h2, h3, h4 {
    color: #1a252f;
    margin-bottom: 1rem;
}

h1 {
    font-size: 2.5rem;
    font-weight: 700;
}

h2 {
    font-size: 2rem;
    font-weight: 600;
    text-align: center;
}

h3 {
    font-size: 1.25rem;
    font-weight: 400;
    color: #17a2b8;
    text-align: center;
    margin-bottom: 2rem;
}

p {
    margin-bottom: 1rem;
}

a {
    color: #17a2b8;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

/* ===================================
   NAVIGATION
   =================================== */
nav {
    background-color: #ffffff;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    border-bottom: 4px solid #17a2b8;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
}

.logo {
    height: 80px;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-menu a {
    color: #1a252f;
    font-weight: 500;
    transition: color 0.3s;
}

.nav-menu a:hover {
    color: #17a2b8;
    text-decoration: none;
}

/* ===================================
   HERO SECTION
   =================================== */
.hero {
    background: linear-gradient(135deg, #1a252f 0%, #2c3e50 100%);
    color: #ffffff;
    padding: 4rem 0;
    text-align: center;
    border-bottom: 5px solid #17a2b8;
}

.hero-content h1 {
    color: #ffffff;
    margin-bottom: 1.5rem;
}

.hero-content .lead {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.cta-button {
    display: inline-block;
    background-color: #17a2b8;
    color: #ffffff;
    padding: 1rem 2rem;
    border-radius: 5px;
    border: 3px solid #17a2b8;
    font-size: 1.1rem;
    font-weight: 600;
    transition: background-color 0.3s, transform 0.2s, border-color 0.3s;
}

.cta-button:hover {
    background-color: #138496;
    border-color: #0f6674;
    transform: translateY(-2px);
    text-decoration: none;
}

/* ===================================
   SECTIONS
   =================================== */
.section {
    padding: 4rem 0;
    background-color: #ffffff;
    border-bottom: 3px solid #e0e0e0;
}

.section-alt {
    background-color: #f8f9fa;
    border-bottom: 3px solid #dee2e6;
}

.section-dark {
    background-color: #1a252f;
    color: #ffffff;
    border-bottom: 5px solid #17a2b8;
}

.section-dark h2,
.section-dark h3 {
    color: #ffffff;
}

.section-content {
    max-width: 1000px;
    margin: 0 auto;
}

/* ===================================
   INLINE ZITAT-HERVORHEBUNG
   =================================== */
.inline-quote {
    color: #17a2b8;
    font-weight: 700;
    font-style: italic;
}

/* ===================================
   CHECKLISTE
   =================================== */
.checklist {
    list-style: none;
    max-width: 700px;
    margin: 2rem auto;
}

.checklist li {
    padding: 0.75rem 0;
    padding-left: 2rem;
    position: relative;
}

.checklist li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #17a2b8;
    font-weight: bold;
    font-size: 1.25rem;
}

/* ===================================
   PHASE CARDS
   =================================== */
.phase-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.phase-card {
    background-color: #ffffff;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.12);
    border: 4px solid #17a2b8;
    text-align: center;
    transition: transform 0.3s, box-shadow 0.3s, border-color 0.3s;
}

.phase-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.2);
    border-color: #138496;
}

.phase-number {
    font-size: 3rem;
    color: #17a2b8;
    margin-bottom: 1rem;
}

.phase-card h4 {
    color: #1a252f;
    margin-bottom: 0.5rem;
}

.phase-duration {
    color: #17a2b8;
    font-weight: 600;
    font-size: 0.95rem;
    margin-bottom: 1rem;
    text-align: center !important; /* ✅ GEÄNDERT: !important erzwingt Zentrierung */
}

/* ✅ NEU: Nur Beschreibungstext linksbündig */
.phase-card p:not(.phase-duration) {
    text-align: left;
}


.phase-card p {
    text-align: left;
}

/* ===================================
   REASON CARDS
   =================================== */
.reason-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    margin-top: 2rem;
}

.reason-card {
    background-color: #ffffff;
    padding: 1.5rem;
    border-radius: 8px;
    border-left: 5px solid #17a2b8;
    border-top: 3px solid #17a2b8;
    border-right: 3px solid #17a2b8;
    border-bottom: 3px solid #17a2b8;
    box-shadow: 0 4px 12px rgba(0,0,0,0.12);
    transition: transform 0.3s, box-shadow 0.3s, border-color 0.3s;
}

.reason-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 16px rgba(0,0,0,0.2);
    border-left-color: #138496;
    border-top-color: #138496;
    border-right-color: #138496;
    border-bottom-color: #138496;
}

.reason-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    text-align: center;
}

.reason-card h4 {
    color: #17a2b8;
    margin-bottom: 0.75rem;
    text-align: center;
}

.reason-card p {
    font-size: 0.95rem;
    margin-bottom: 0;
}

.reason-card .checkmark {
    color: #17a2b8;
    font-weight: bold;
}

/* ===================================
   SERVICE BLOCKS
   =================================== */
.service-blocks {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: 2rem;
}

.service-block {
    background-color: #ffffff;
    padding: 1.5rem;
    border-radius: 8px;
    border: 2px solid #e0e0e0;
    box-shadow: 0 2px 6px rgba(0,0,0,0.05);
    display: grid;
    grid-template-columns: 250px 1fr;
    gap: 1.5rem;
    align-items: center;
    transition: border-color 0.3s, box-shadow 0.3s;
}

.service-block:hover {
    border-color: #17a2b8;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.service-label {
    font-weight: 600;
    color: #1a252f;
    font-size: 1rem;
}

.service-description {
    color: #2c3e50;
    font-size: 0.95rem;
}

/* ===================================
   ÜBER MICH SECTION
   =================================== */
.about-text {
    max-width: 800px;
    margin: 0 auto;
    text-align: left;
}

.about-text p {
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

/* ===================================
   KONTAKT SECTION
   =================================== */
.contact-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 3rem;
    align-items: start;
    margin-top: 2rem;
}

.contact-photo img {
    width: 100%;
    max-width: 300px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.3);
    border: 4px solid #17a2b8;
}

.contact-info h3 {
    color: #ffffff;
    text-align: left;
    margin-bottom: 0.5rem;
}

.contact-title {
    color: #17a2b8;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.contact-details {
    margin: 1.5rem 0;
}

.contact-details p {
    margin-bottom: 0.75rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.contact-icon {
    width: 20px;
    height: 20px;
    vertical-align: middle;
}

.contact-details a {
    color: #17a2b8;
}

.contact-details a:hover {
    color: #ffffff;
}

.contact-quote {
    background-color: rgba(23, 162, 184, 0.15);
    border-left: 5px solid #17a2b8;
    border-top: 2px solid #17a2b8;
    border-right: 2px solid #17a2b8;
    border-bottom: 2px solid #17a2b8;
    padding: 1.5rem;
    margin-top: 2rem;
    font-style: italic;
    color: #ffffff;
}
/* Hervorhebung für Outsourcing-Zitat */
.highlight-quote {
    background-color: rgba(23, 162, 184, 0.1);
    border-left: 5px solid #17a2b8;
    border-top: 2px solid #17a2b8;
    border-right: 2px solid #17a2b8;
    border-bottom: 2px solid #17a2b8;
    padding: 1.5rem;
    margin: 2rem 0;
    font-style: italic;
    font-weight: 600;
    color: #1a252f;
    text-align: center;
}

/* ===================================
   FOOTER
   =================================== */
footer {
    background-color: #0f1419;
    color: #ecf0f1;
    text-align: center;
    padding: 2rem 0;
    border-top: 4px solid #17a2b8;
}

footer p {
    margin: 0.5rem 0;
}

footer a {
    color: #17a2b8;
}

footer a:hover {
    color: #ffffff;
}

/* ===================================
   RESPONSIVE DESIGN
   =================================== */
    
    .service-block {
        grid-template-columns: 1fr;
        gap: 0.75rem;
    }
}

@media (max-width: 768px) {
    h1 {
        font-size: 2rem;
    }

    h2 {
        font-size: 1.75rem;
    }

    .hero {
        padding: 3rem 0;
    }

    /* ✅ NEU: Mobile Navigation optimiert */
    nav {
        position: relative; /* sticky entfernt - scrollt jetzt weg */
    }

    .nav-menu {
        flex-direction: row; /* bleibt horizontal für Karriere-Link */
        gap: 0; /* kein gap mehr nötig */
        justify-content: center;
    }

    /* ✅ Start + Karriere auf Mobile anzeigen */
.nav-menu li:not(:first-child):not(:last-child) {
    display: none; /* nur mittlere Menüpunkte ausblenden */
}

    .phase-grid,
    .reason-grid {
        grid-template-columns: 1fr;
    }

    .contact-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .contact-photo img {
        margin: 0 auto;
    }

    .contact-info h3 {
        text-align: center;
    }

    .service-block {
        grid-template-columns: 1fr;
    }

    .nav-container {
        flex-direction: column;
        gap: 1rem;
    }
}
