/* === MITMESH - ZENTRALE STYLESHEET (KORRIGIERTE VERSION) === */

/* --- Grundlegende Stile & Farbpalette --- */
:root {
    --primary-blue: #003366;
    --accent-orange: #FF6F61;
    --dark-grey: #333333;
    --light-grey: #f8f9fa;
    --white: #ffffff;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: var(--white);
    color: var(--dark-grey);
    line-height: 1.6;
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

section {
    padding: 80px 0;
}

h1, h2, h3 {
    font-weight: 700;
    color: var(--primary-blue);
    text-align: center;
}
h1 { font-size: 2.8rem; margin-bottom: 10px; }
h2 { font-size: 2.5rem; margin-bottom: 50px; }
p { font-size: 1.1rem; text-align: center; max-width: 800px; margin: 0 auto 20px auto; }

/* --- Navigationsleiste --- */
.navbar {
    background-color: var(--white);
    padding: 10px 0;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
}
.navbar .container { display: flex; justify-content: space-between; align-items: center; }
.navbar .logo { max-height: 100px; }
.navbar .logo-text { font-size: 1.8rem; font-weight: bold; color: var(--primary-blue); text-decoration: none; }
.nav-right { display: flex; flex-direction: column; align-items: flex-end; gap: 5px; }
.nav-links { display: flex; gap: 25px; }
.nav-links a { color: var(--dark-grey); text-decoration: none; font-weight: 600;white-space: nowrap; }
.nav-links a:hover { color: var(--accent-orange); }
.lang-switcher { display: flex; align-items: center; gap: 10px; }
.lang-switcher a { display: flex; align-items: center; gap: 5px; padding: 5px 8px; border-radius: 5px; transition: background-color 0.2s ease; text-decoration: none; font-weight: 600; color: var(--dark-grey); }
.lang-switcher a:hover { background-color: #f0f0f0; }
.lang-switcher .flag-icon { width: 20px; height: auto; border-radius: 3px; }
.lang-switcher .is-active { font-weight: bold; background-color: rgba(255, 111, 97, 0.2); pointer-events: none; }

/* --- Header / Hero Sektion --- */
.hero {
    background-color: var(--primary-blue); /* KORRIGIERT: Blaue Farbe wieder da */
    color: var(--white);
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 400px;
    padding: 40px 0;
}
.hero h1, .hero h2 { color: var(--white); }
.hero-subtitle { font-size: 1.25rem; font-weight: 300; max-width: 600px; margin: 0 auto 40px auto; }

/* --- CTA Button (im Hero) --- */
.hero .cta-button {
    display: inline-block; background-color: var(--accent-orange); color: var(--white);
    padding: 15px 30px; border-radius: 50px; text-decoration: none;
    font-weight: 700; font-size: 1.1rem; transition: transform 0.2s ease;
}
.hero .cta-button:hover { transform: scale(1.05); }

/* --- Header (für Unterseiten wie Roadmap) --- */
.header {
    background-color: var(--primary-blue);
    color: var(--white);
    padding: 50px 0;
    text-align: center;
}
.header h1 {
    color: var(--white);
}
.header p {
    color: var(--white);
    opacity: 0.9;
}

/* --- Allgemeine Sektionen --- */
.section-light { background-color: var(--light-grey); }
.section-white { background-color: var(--white); }
.solution-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: start; }
.solution-card { background-color: var(--white); padding: 30px; border-radius: 10px; box-shadow: 0 4px 15px rgba(0,0,0,0.05); text-align: center; }
.solution-card h3 { font-size: 1.5rem; margin-top: 15px; color: var(--accent-orange); }
.solution-card p { font-size: 1rem; }
.solution-card .icon { font-size: 3rem; color: var(--primary-blue); }
.team-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; max-width: 800px; margin: 0 auto; }
.team-member { text-align: center; }
.team-member img { width: 150px; height: 150px; border-radius: 12px; object-fit: cover; margin-bottom: 15px; box-shadow: 0 4px 10px rgba(0,0,0,0.1); }
.team-member h3 { margin: 10px 0 5px 0; font-size: 1.2rem; color: var(--dark-grey); }
.team-member p { font-size: 1rem; font-style: italic; color: #777; }

/* --- Roadmap Sektion (auf Roadmap-Seite) --- */
.roadmap-section { padding: 80px 0; background-color: var(--white); }
.phases-container { display: flex; flex-direction: column; gap: 20px; position: relative; margin: 0 auto; max-width: 900px; }
.phases-container::before { content: ''; position: absolute; left: 50%; top: 20px; bottom: 20px; width: 4px; background-color: #e0e0e0; transform: translateX(-50%); }
.phase { padding: 0 40px; position: relative; width: 50%; box-sizing: border-box; }
.phase-content { background: var(--white); border-radius: 10px; padding: 25px; box-shadow: 0 5px 25px rgba(0, 51, 102, 0.1); position: relative; border: 1px solid #eee; transition: transform 0.3s ease, box-shadow 0.3s ease; }
.phase:hover .phase-content { transform: translateY(-5px); box-shadow: 0 8px 30px rgba(0, 51, 102, 0.15); }
.phase:nth-child(odd) { align-self: flex-start; }
.phase:nth-child(even) { align-self: flex-end; text-align: right; }
.phase:nth-child(odd) .phase-content::after { content: ''; position: absolute; right: -15px; top: 25px; height: 0; width: 0; border-top: 15px solid transparent; border-bottom: 15px solid transparent; border-left: 15px solid var(--white); }
.phase:nth-child(even) .phase-content::after { content: ''; position: absolute; left: -15px; top: 25px; height: 0; width: 0; border-top: 15px solid transparent; border-bottom: 15px solid transparent; border-right: 15px solid var(--white); }
.phase-circle { position: absolute; top: 30px; width: 20px; height: 20px; border-radius: 50%; background-color: var(--accent-orange); border: 4px solid var(--white); box-shadow: 0 0 0 3px var(--accent-orange); }
.phase:nth-child(odd) .phase-circle { right: -10px; }
.phase:nth-child(even) .phase-circle { left: -10px; }
.phase-title { font-size: 1.6rem; color: var(--primary-blue); margin-bottom: 10px; font-weight: 600; }
.phase-title span { color: var(--accent-orange); }
.phase-description { color: #666; margin-bottom: 15px; font-size: 1rem; font-style: italic; }
.features-list { list-style: none; padding: 0; }
.features-list li { padding: 5px 0 5px 25px; color: var(--dark-grey); position: relative; }
.features-list li::before { content: '•'; position: absolute; left: 0; color: var(--accent-orange); font-weight: bold; font-size: 1.2em; }

/* --- Benefits & CTA Section --- */
.benefits-section { padding: 80px 0; }
.benefits-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 25px; margin-top: 30px; }
.benefit-card { background: white; border-radius: 12px; padding: 30px; text-align: center; border: 1px solid #e0e0e0; transition: transform 0.3s ease, box-shadow 0.3s ease; } /* KORRIGIERT: Höhe entfernt */
.benefit-card:hover { transform: translateY(-3px); box-shadow: 0 6px 20px rgba(0, 51, 102, 0.1); }
.benefit-icon { height: 50px; width: 50px; margin: 0 auto 15px auto; color: var(--primary-blue); }
.benefit-icon svg { fill: currentColor; }
.benefit-title { font-size: 1.2em; font-weight: 600; margin-bottom: 10px; color: var(--dark-grey); }
.benefit-description { color: #666; line-height: 1.5; font-size: 0.95em; }
.cta-section { background: var(--primary-blue); color: white; padding: 60px 0; text-align: center; }
.cta-title { font-size: 2.2em; margin-bottom: 15px; font-weight: 700; color: white; }
.cta-description { font-size: 1.1em; opacity: 0.9; margin-bottom: 30px; max-width: 600px; margin-left: auto; margin-right: auto; }
.cta-buttons { display: flex; justify-content: center; gap: 20px; flex-wrap: wrap; }

/* --- KORRIGIERT: CTA Button Styling --- */
.cta-button {
    background: white; color: var(--primary-blue);
    padding: 12px 25px; border: none; border-radius: 50px;
    font-size: 1em; font-weight: 600; cursor: pointer;
    transition: all 0.3s ease; text-decoration: none; display: inline-block;
}
.cta-button:hover {
    background: var(--light-grey); transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}
.cta-button.secondary {
    background: transparent; color: white;
    border: 2px solid white;
}
.cta-button.secondary:hover {
    background: white; color: var(--primary-blue);
}

/* --- Footer --- */
footer { background-color: var(--dark-grey); color: var(--light-grey); padding: 40px 0; text-align: center; }
footer a { color: var(--white); text-decoration: none; margin: 0 15px; }
footer a:hover { text-decoration: underline; }
footer .copyright { margin-top: 20px; font-size: 0.9rem; color: #aaa; }

/* --- Legal Pages --- */
.legal-container { max-width: 800px; margin: 40px auto; padding: 40px; background-color: var(--white); border-radius: 8px; box-shadow: 0 2px 10px rgba(0,0,0,0.1); }
.legal-container h1, .legal-container h2 { text-align: left; }
.legal-container p, .legal-container ul { text-align: left; }

/* --- Responsive Anpassungen --- */
@media (max-width: 768px) {
    h1 { font-size: 2.5rem; } h2 { font-size: 2rem; }
    .solution-grid, .team-grid { grid-template-columns: 1fr; }
    .navbar .container { flex-wrap: wrap; justify-content: space-between; }
    .nav-right { order: 3; width: 100%; margin-top: 10px; flex-direction: column; align-items: center; }
	.nav-links {
        flex-wrap: wrap;         /* ERLAUBT den Links, in die nächste Zeile zu springen */
        justify-content: center; /* Zentriert die Links */
    }
    .phases-container::before { left: 20px; }
    .phase { width: 100%; padding: 0 0 0 40px; text-align: left !important; }
    .phase:nth-child(even) { padding-left: 40px; }
    .phase .phase-circle { left: 10px !important; }
    .phase .phase-content::after { left: -15px !important; right: auto; border-left: none; border-right: 15px solid var(--white); }
}
/* === STYLES FÜR RECHTLICHE SEITEN (Impressum, Datenschutz) === */

.legal-page-body {
    background-color: var(--light-grey);
}

.legal-container {
    max-width: 800px;
    margin: 40px auto;
    padding: 40px;
    background-color: var(--white);
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.legal-container h1 {
    text-align: left;
    color: var(--primary-blue);
    border-bottom: 2px solid var(--accent-orange);
    padding-bottom: 10px;
    margin-bottom: 30px;
}

.legal-container h2 {
    text-align: left;
    font-size: 1.5rem;
    color: var(--dark-grey);
    margin-top: 30px;
    margin-bottom: 15px;
}

.legal-container h3 {
    text-align: left;
    font-size: 1.2rem;
    color: var(--dark-grey);
    margin-top: 25px;
    margin-bottom: 10px;
}

.legal-container p, .legal-container ul {
    text-align: left;
    font-size: 1rem;
    color: #555;
}

.legal-container a {
    color: var(--accent-orange);
    text-decoration: none;
}

.legal-container a:hover {
    text-decoration: underline;
}

/* === NEU: Stile für die Download-Sektion === */

.download-section-intro {
    grid-column: 1 / -1; /* Sorgt dafür, dass dieser Text über die volle Breite geht */
    text-align: center;
    margin-top: 20px;
    margin-bottom: -50px;
}

.download-section-intro p {
    font-size: 1.1rem;
    font-weight: 500;
    color: var(--dark-grey);
}

.download-buttons {
    grid-column: 1 / -1; /* Sorgt dafür, dass die Buttons über die volle Breite gehen */
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    margin-top: 20px;
}

.download-button {
    display: inline-block;
    background-color: var(--white);
    color: var(--primary-blue);
    border: 2px solid var(--primary-blue); /* Blaue Umrandung */
    padding: 12px 25px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1rem;
    transition: all 0.2s ease;
}

.download-button:hover {
    background-color: var(--primary-blue);
    color: var(--white);
    transform: translateY(-2px);
}
/* --- Stile für die Roadmap-Vorschau-Titel --- */
.phase-preview-title {
    color: var(--primary-blue);
    font-size: 1.3rem;
    text-align: center;
    margin-bottom: 15px;
}

.phase-preview-title .phase-number {
    display: block; /* Dies erzwingt den Zeilenumbruch */
    color: var(--accent-orange);
    font-weight: 700;
    margin-bottom: 5px;
}

.phase-preview-title .phase-name {
    display: block;
    font-weight: 600;
}

/* Anpassung der Benefit-Card für diesen speziellen Fall */
#roadmap-preview .benefit-card p {
    font-size: 0.95rem;
    text-align: center; /* Zentriert den Text wieder für einheitliches Aussehen */
}
/* --- KORREKTUR: Linksbündige Listen in rechtsbündigen Phasen --- */
.phase:nth-child(even) .features-list {
    text-align: left; /* Zwingt die Liste zur Linksbündigkeit */
    display: inline-block; /* Verhindert, dass die Liste die volle Breite einnimmt */
}