/* =========================================================
   PRO ENGINEERS – ALLGEMEINES STYLESHEET
   Gilt für alle Seiten:
   Basis, Header, Navigation, Buttons, Hero-Grundgerüst,
   Footer und allgemeine Responsive-Regeln.
========================================================= */

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: "Segoe UI", Arial, sans-serif;
    background: #07111f;
    color: #fff;
}


/* =========================
   HEADER / NAVIGATION
========================= */

header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;

    display: flex;
    justify-content: space-between;
    align-items: center;

    padding: 18px 40px;

    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(8px);
}

.logo,
.logo a {
    display: flex;
    align-items: center;
}

.logo img {
    height: 60px;
    width: auto;
    display: block;
}

nav {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);

    display: flex;
    align-items: center;
}

nav a {
    margin: 0 18px;
    color: #fff;
    text-decoration: none;
}

nav a:hover {
    color: #0f6fff;
}


/* Login rechts */

.login-link {
    margin-left: auto;
    padding: 10px;

    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;

    color: #fff;
    text-decoration: none;
}

.login-icon {
    width: 28px;
    height: 28px;

    fill: none !important;
    stroke: #fff;
    stroke-width: 1.7;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.login-link:hover {
    color: #0f6fff;
}


/* =========================
   BUTTONS
========================= */

.btn {
    display: inline-block;

    padding: 12px 18px;
    margin-left: 8px;

    background: #0f6fff;
    color: #fff;

    border: none;
    border-radius: 8px;

    text-decoration: none;
    transition: 0.2s;
}

.btn:hover {
    transform: translateY(-2px);
    background: #3385ff;
}

.ghost {
    background: transparent;
    border: 1px solid #fff;
}

.ghost:hover {
    background: #fff;
    color: #07111f;
}


/* =========================
   HERO – ALLGEMEIN
========================= */

.hero {
    position: relative;
    height: 88vh;
    min-height: 0;

    overflow: hidden;
    isolation: isolate;
}


/* Das Bild ist auf ALLEN Seiten immer 100vh groß */
.hero::before {
    content: "";

    position: absolute;
    top: 0;
    left: 0;

    width: 100%;
    height: 100vh;

    background:
        linear-gradient(
            rgba(3, 9, 20, 0.1),
            rgba(3, 9, 20, 0.15)
        ),
        url("website/images/hero.jpg");

    background-size: cover;
    background-position: center;

    z-index: -1;
}




/* Unterseiten:
   gleiche Hero-Höhe wie die Startseite.
   Der zusätzliche Abstand hält den Footer aus dem ersten Viewport. */

.hero-subpage {
    height: 88vh;
    min-height: 0;
    margin-bottom: 12vh;
}


/* =========================
   FOOTER / CTA
========================= */

.cta {
    min-height: 260px;
    padding: 50px 8%;

    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    align-items: start;

    background: #07111f;
}


/* Footer links */

.cta-left {
    max-width: 450px;
    text-align: left;
}

.cta-left h2 {
    margin: 0 0 12px;

    font-size: 28px;
    line-height: 1.2;
}

.cta-left p {
    margin: 0 0 25px;

    color: #aeb8c5;

    font-size: 15px;
    line-height: 1.6;
}

.cta-left .btn {
    margin-left: 0;
}


/* Footer Mitte */

.cta-center {
    display: flex;
    flex-direction: column;
    align-items: flex-start;

    gap: 8px;

    justify-self: center;
}

.cta-center a {
    color: #fff;
    text-decoration: none;
    font-size: 15px;
}

.cta-center a:hover {
    color: #0f6fff;
}


/* Footer rechts */

.cta-contact {
    display: flex;
    flex-direction: column;
    align-items: flex-end;

    gap: 8px;

    text-align: right;
}

.cta-contact a {
    color: #fff;
    text-decoration: none;
}

.cta-contact a:hover {
    color: #0f6fff;
}

.cta-center strong,
.cta-contact strong {
    margin: 0 0 8px;

    color: #fff;

    font-size: 18px;
    font-weight: 700;
    line-height: 1.2;
}


/* Social Media */

.linkedin-link,
.youtube-link {
    display: flex;
    align-items: center;

    gap: 8px;
    margin-top: 6px;
}

.linkedin-icon,
.youtube-icon {
    width: 20px;
    height: 20px;
    fill: currentColor;
}

.linkedin-link:hover,
.youtube-link:hover {
    color: #0f6fff;
}


/* =========================
   RESPONSIVE – ALLGEMEIN
========================= */

@media (max-width: 1100px) {

    nav a {
        margin: 0 8px;
    }
}


@media (max-width: 900px) {

    header {
        padding: 15px 20px;
    }

    nav {
        display: none;
    }

    .hero {
        height: auto;
        min-height: 100vh;
    }

    .hero-subpage {
        margin-bottom: 0;
    }

    .cta {
        grid-template-columns: 1fr;
        gap: 35px;
    }

    .cta-center {
        justify-self: start;
    }

    .cta-contact {
        align-items: flex-start;
        text-align: left;
    }
}

/* Mobile Hauptnavigation */
.mobile-menu-toggle{display:none;margin-left:auto;width:44px;height:44px;padding:8px;border:1px solid rgba(255,255,255,.28);border-radius:8px;background:rgba(7,17,31,.86);color:#fff;cursor:pointer}.mobile-menu-toggle span{display:block;width:24px;height:2px;margin:5px auto;background:currentColor;transition:transform .2s,opacity .2s}.mobile-menu-toggle[aria-expanded="true"] span:nth-child(1){transform:translateY(7px) rotate(45deg)}.mobile-menu-toggle[aria-expanded="true"] span:nth-child(2){opacity:0}.mobile-menu-toggle[aria-expanded="true"] span:nth-child(3){transform:translateY(-7px) rotate(-45deg)}

@media (max-width: 900px) {
    .mobile-menu-toggle { display: block; }
    header nav { display: none; }
    header nav.mobile-open {
        position: absolute;
        top: calc(100% + 8px);
        left: 12px;
        right: 12px;
        transform: none;
        display: flex;
        flex-direction: column;
        align-items: stretch;
        padding: 12px;
        border: 1px solid rgba(255,255,255,.18);
        border-radius: 12px;
        background: rgba(7,17,31,.97);
        box-shadow: 0 18px 45px rgba(0,0,0,.55);
        backdrop-filter: blur(12px);
    }
    header nav.mobile-open a {
        margin: 0;
        padding: 12px 10px;
        border-bottom: 1px solid rgba(255,255,255,.1);
    }
    header nav.mobile-open a:last-child { border-bottom: 0; }
}