/* =========================
   Grunddesign
========================= */

:root {
    --navy: #0b1f3a;
    --navy-light: #132f52;
    --turquoise: #00a6a6;
    --turquoise-light: #19c3c3;
    --white: #ffffff;
    --gray: #f4f6f8;
    --text: #1c2938;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: "Segoe UI", Arial, Helvetica, sans-serif;
    color: var(--text);
    line-height: 1.6;
    background-color: var(--white);
}

/* =========================
   Navigation
========================= */

.navigation {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: auto;
    padding: 30px 40px;
}

.logo {
    color: var(--white);
    font-size: 1.3rem;
    font-weight: 700;
}

.logo span {
    color: var(--turquoise-light);
}

.nav-links {
    display: flex;
    gap: 35px;
}

.nav-links a {
    color: var(--white);
    text-decoration: none;
    font-size: 0.95rem;
    transition: color 0.2s ease;
}

.nav-links a:hover {
    color: var(--turquoise-light);
}

/* =========================
   Hero
========================= */

.hero {
    min-height: 90vh;
    background: linear-gradient(135deg, var(--navy), var(--navy-light));
    color: var(--white);
}

.hero-content {
    max-width: 1200px;
    margin: auto;
    padding: 100px 40px 120px;
}

.hero h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    margin-bottom: 20px;
}

.hero h2 {
    max-width: 800px;
    font-size: clamp(1.3rem, 2vw, 2rem);
    font-weight: 400;
    color: var(--turquoise-light);
    margin-bottom: 30px;
}

.hero p {
    max-width: 750px;
    font-size: 1.15rem;
    color: #e8eef5;
    margin-bottom: 45px;
}

/* =========================
   Buttons & Links
========================= */

.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}

.button {
    display: inline-block;
    padding: 14px 28px;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.2s ease;
    text-align: center;
}

.primary {
    background: var(--turquoise);
    color: var(--white);
    border: 1px solid var(--turquoise);
}

.primary:hover {
    background: var(--turquoise-light);
    border-color: var(--turquoise-light);
    transform: translateY(-1px);
}

.secondary {
    border: 1px solid rgba(255, 255, 255, 0.5);
    color: var(--white);
}

.secondary:hover {
    border-color: var(--white);
    background: rgba(255, 255, 255, 0.05);
}

/* =========================
   Sections (Allgemein)
========================= */

.section {
    max-width: 1200px;
    margin: auto;
    padding: 90px 40px;
}

.section h2 {
    font-size: 2.25rem;
    color: var(--navy);
    margin-bottom: 15px;
    font-weight: 700;
}

.eyebrow {
    display: block;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--turquoise);
    font-weight: 600;
    margin-bottom: 10px;
}

.section-intro {
    max-width: 950px;
    font-size: 1.1rem;
    color: var(--text);
    opacity: 0.85;
    margin-bottom: 40px;
}

.dark-section {
    max-width: none;
    background: var(--gray);
}

/* =========================
   Leistungen (Grid & Kacheln)
========================= */

.spec-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 25px;
    margin-top: 20px;
}

.spec-card {
    background: var(--white);
    border: 1px solid #e2e8f0;
    padding: 35px 30px;
    border-radius: 6px;
    box-shadow: 0 4px 10px rgba(11, 31, 58, 0.02);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.spec-card:hover {
    transform: translateY(-4px);
    border-color: var(--turquoise);
    box-shadow: 0 12px 24px rgba(11, 31, 58, 0.06);
}

.spec-card h3 {
    color: var(--navy);
    font-size: 1.3rem;
    margin-bottom: 15px;
    font-weight: 700;
}

.card-lead {
    font-weight: 600;
    color: var(--navy);
    margin-bottom: 12px;
    font-size: 0.95rem;
}

.spec-card ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.spec-card li {
    font-size: 0.9rem;
    color: var(--text);
    opacity: 0.85;
    position: relative;
    padding-left: 20px;
    margin-bottom: 8px;
    line-height: 1.4;
}

.spec-card li:last-child {
    margin-bottom: 0;
}

.spec-card li::before {
    content: "■";
    position: absolute;
    left: 0;
    top: 0;
    color: var(--turquoise);
    font-size: 0.75rem;
    line-height: 1.4;
}

/* Die neue Premium-CTA Box am Ende der Leistungen */
.spec-card-closing-block {
    grid-column: 1 / -1;
    background: linear-gradient(135deg, var(--navy), var(--navy-light));
    color: var(--white);
    padding: 50px 40px;
    border-radius: 6px;
    text-align: center;
    margin-top: 15px;
    box-shadow: 0 10px 30px rgba(11, 31, 58, 0.15);
}

.spec-card-closing-block h3 {
    color: var(--white);
    font-size: 1.625rem;
    margin-bottom: 12px;
    font-weight: 700;
}

.spec-card-closing-block p {
    color: #e8eef5;
    max-width: 650px;
    margin: 0 auto 30px;
    font-size: 1.05rem;
}

/* =========================
   Über mich (Zwei-Spalten & Fakten)
========================= */

.about-content {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 60px;
    align-items: start;
    margin-top: 20px;
}

.about-text p {
    font-size: 1.05rem;
    margin-bottom: 20px;
    color: var(--text);
}

.about-facts {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.fact {
    background: var(--white);
    border-left: 4px solid var(--turquoise);
    padding: 15px 20px;
    border-radius: 0 6px 6px 0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.02);
}

.fact dt {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--turquoise);
    font-weight: 700;
    margin-bottom: 4px;
}

.fact dd {
    font-size: 1.05rem;
    color: var(--navy);
    font-weight: 600;
    line-height: 1.4;
}

/* =========================
   Kontakt-Sektion
========================= */

.contact-section {
    text-align: center;
}

.contact-section .section-intro {
    margin-left: auto;
    margin-right: auto;
}

.contact-box {
    margin-top: 20px;
}

.contact-note {
    margin-top: 15px;
    font-size: 0.9rem;
    color: var(--text);
    opacity: 0.7;
}

/* =========================
   Footer
========================= */

footer {
    background: var(--navy);
    color: var(--white);
    padding: 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-brand p {
    font-weight: 700;
}

.footer-tagline {
    font-size: 0.85rem;
    opacity: 0.6;
    margin-top: 4px;
}

footer a {
    color: var(--turquoise-light);
    text-decoration: none;
    font-size: 0.9rem;
}

footer a:hover {
    text-decoration: underline;
}

/* =========================
   Mobile Anpassungen
========================= */

@media(max-width: 992px) {
    .about-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

@media(max-width: 768px) {
    .navigation {
        flex-direction: column;
        gap: 20px;
        padding: 20px;
    }

    .nav-links {
        gap: 25px;
    }

    .section {
        padding: 60px 20px;
    }

    .hero-content {
        padding: 60px 20px 80px;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: stretch;
    }

    .spec-card-closing-block {
        padding: 35px 20px;
    }
}

/* ==================================================
   REPARATUR: Logo-Integration & Hero-Zweispalter
================================================== */

/* Sorgt dafür, dass Logo und Text in der Navigation sauber nebeneinander stehen */
.brand {
    display: flex;
    align-items: center;
    gap: 15px; 
}

.nav-logo {
    height: 32px; /* Perfekte Höhe für die Kopfzeile */
    width: auto;
    object-fit: contain;
}

/* Verhindert das Zusammenquetschen des Headers */
.navigation {
    width: 100%;
}

/* Hero-Bereich: Flexbox für Text links + Bild rechts */
.hero {
    min-height: auto; /* Flexiblere Höhe für den Zweispalt-Inhalt */
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 50px;
    padding: 80px 40px;
}

.hero-content {
    flex: 1.2; /* Gibt dem Text etwas mehr Raum */
    max-width: 650px;
    text-align: left; /* Garantiert linksbündigen Text */
}

.hero-image-box {
    flex: 0.8;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-logo {
    max-width: 420px;
    width: 100%;
    height: auto;
    object-fit: contain;
    filter: drop-shadow(0 10px 25px rgba(0, 166, 166, 0.2));
}

/* Kompakte Anpassung für kleinere Bildschirme */
@media (max-width: 968px) {
    .hero-container {
        flex-direction: column-reverse;
        text-align: center;
        padding: 50px 20px;
        gap: 40px;
    }
    
    .hero-content {
        text-align: center;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .hero-logo {
        max-width: 280px;
    }
}
/* --- ÜBER MICH RE-DESIGN (Bild rechts, Fakten darunter) --- */
.about-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 60px 20px;
}

/* Flexbox für Text links und Bild rechts */
.about-main-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 60px;
    margin-bottom: 50px;
}

.about-text {
    flex: 1.2;
}

.about-text p {
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 20px;
    color: var(--text);
}

/* Bild-Styling */
.about-image-box {
    flex: 0.8;
    display: flex;
    justify-content: center;
}

.about-profile-img {
    width: 100%;
    max-width: 350px; /* Begrenzt die Bildgröße, damit es harmonisch wirkt */
    height: auto;
    border-radius: 8px; /* Leicht abgerundete Ecken passend zu den Kacheln */
    object-fit: cover;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

/* Unterer Bereich: Die 3 Fakten nebeneinander */
.about-facts-bottom {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    margin-top: 40px;
}

/* Kacheln mit identischem Design, aber 10% größer */
.fact-card {
    background: #fdfdfd; /* Passt sich deinem hellen Hintergrund an */
    padding: 24px 30px;
    border-left: 4px solid #00a6a6; /* Dein markanter türkiser Balken links */
    border-radius: 0 8px 8px 0;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.02);
}

/* Titel (WAS?, WIE?, WER?) -> 10% größer */
.fact-card dt {
    font-size: 1.1rem; /* Erhöht für die 10% mehr Präsenz */
    font-weight: 700;
    color: #00a6a6;
    text-transform: uppercase;
    margin-bottom: 8px;
    letter-spacing: 0.05em;
}

/* Inhalt -> 10% größer */
.fact-card dd {
    font-size: 1.1rem; /* Erhöht für die 10% mehr Präsenz */
    font-weight: 600;
    color: #0b1f3a; /* Dein dunkles Navy */
    margin: 0;
    line-height: 1.4;
}

/* Responsive Anpassung für Tablets und Smartphones */
@media (max-width: 768px) {
    .about-main-row {
        flex-direction: column; /* Auf dem Handy rutscht das Bild unter den Text */
        gap: 30px;
    }
    
    .about-profile-img {
        max-width: 280px;
    }
}

<!-- =========================
       Footer & Impressum
    ========================= -->
    <footer class="site-footer">
        <div class="footer-container">
            <!-- Linke Spalte: Kurzinfo -->
            <div class="footer-info">
                <div class="logo">Factory<span>Blueprint</span></div>
                <p>Herstellerunabhängige MES-Beratung für den Mittelstand.</p>
                <p class="copyright">&copy; 2026 Factory Blueprint. Alle Rechte vorbehalten.</p>
            </div>

            <!-- Rechte Spalte: Das gesetzliche Impressum -->
            <div class="footer-impressum">
                <h3>Impressum</h3>
                <p><strong>Angaben gemäß § 5 DDG:</strong></p>
                <p>
                    Max Mustermann<br>
                    Factory Blueprint MES-Beratung<br>
                    Musterstraße 12<br>
                    12345 Musterstadt
                </p>
                
                <p><strong>Kontakt:</strong></p>
                <p>
                    Telefon: +49 (0) 123 456789<br>
                    E-Mail: info@factory-blueprint.de
                </p>

                <p><strong>Umsatzsteuer-ID:</strong></p>
                <p>Umsatzsteuer-Identifikationsnummer gemäß § 27 a Umsatzsteuergesetz:<br>DE 123 456 789</p>
                
                <!-- Falls du eine Berufshaftpflichtversicherung hast (für Berater dringend empfohlen), gehört das hier hin: -->
                <p><strong>Berufshaftpflichtversicherung:</strong></p>
                <p>Name der Versicherung, Anschrift, Geltungsbereich: Weltweit</p>
            </div>
        </div>
    </footer>