/* ======================================================
   ROOT VARIABLES – Logicx CI (ident zu Blog)
====================================================== */
:root {
    --primary-bg: #FFFFFF;
    --secondary-bg: #F4F4F4;
    --accent: #FF00CC;
    --text-main: #111111;
    --text-soft: #555555;
    --border-soft: #EBEBEB;
    --nav-height: 96px;
}

/* ======================================================
   GLOBAL
====================================================== */
html, body {
    margin: 0;
    padding: 0;
    font-family: "Rajdhani", sans-serif;
    background-color: var(--primary-bg);
    color: var(--text-main);
}

body {
    padding-top: var(--nav-height);
}

html { scroll-behavior: smooth; }

/* ======================================================
   TOP NAVIGATION (ident zu Blog)
====================================================== */
.top-navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 9999;
    height: var(--nav-height);
    background: rgba(255,255,255,0.9);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-soft);
    box-shadow: 0 2px 10px rgba(0,0,0,0.06);

    padding: 0 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo img {
    width: 150px;
}

.nav-links {
    display: flex;
    gap: 15px;
}

.nav-links a {
    font-size: 30px;
    font-weight: 500;
    text-decoration: none;
    color: var(--text-main);
    padding: 10px 14px;
    border-radius: 10px;
}

.nav-links a:hover {
    color: var(--accent);
}

/* ======================================================
   HAMBURGER
====================================================== */
.nav-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
}

.nav-toggle span {
    width: 28px;
    height: 2px;
    background: var(--text-main);
    margin: 6px 0;
    display: block;
}

/* ======================================================
   LANGUAGE SWITCH (ident zu Blog)
====================================================== */
.lang-switch {
    position: relative;
    margin-left: 20px;
}

.lang-current {
    background: none;
    border: none;
    font-family: inherit;
    font-size: 30px;
    font-weight: 500;
    color: var(--text-main);
    cursor: pointer;
    padding: 10px 6px;
    border-radius: 10px;
}

.lang-current:hover {
    color: var(--accent);
}

.lang-dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 6px 18px rgba(0,0,0,0.08);
    padding: 8px 0;
    min-width: 70px;

    opacity: 0;
    pointer-events: none;
    transform: translateY(6px);
    transition: 0.2s ease;
}

.lang-dropdown a {
    display: block;
    padding: 8px 16px;
    font-size: 18px;
    text-decoration: none;
    color: var(--text-main);
}

.lang-switch.open .lang-dropdown {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
}

/* ======================================================
   MOBILE NAV
====================================================== */
@media (max-width: 900px) {

    .top-navbar {
        padding: 0 16px;
        flex-wrap: nowrap; /* verhindert Zeilenumbruch */
    }

    /* Burger */
    .nav-toggle {
        display: flex;
        flex-direction: column;
        margin-left: auto; /* 🔥 erzwingt rechts */
    }

    /* Nav Links – aus dem Flex-Flow nehmen */
    .nav-links {
        position: fixed;
        top: var(--nav-height);
        left: 0;
        right: 0;
        width: 100%;        /* 🔥 wichtig */
        flex: none;         /* 🔥 wichtig */

        background: rgba(255,255,255,0.98);
        backdrop-filter: blur(12px);

        flex-direction: column;
        align-items: center;
        gap: 18px;
        padding: 28px 0;

        max-height: 0;
        opacity: 0;
        pointer-events: none;
        transform: translateY(-10px);

        transition: 0.35s ease;
    }

    .nav-links.open {
        max-height: 100vh;
        opacity: 1;
        pointer-events: auto;
        transform: translateY(0);
    }

    .nav-links a {
        font-size: 22px;
    }
}


/* ======================================================
   CONTENT
====================================================== */
.content {
    padding: 40px 0;
    display: flex;
    justify-content: center;
}

.content-inner {
    max-width: 1350px;
    width: 100%;
    padding: 0 40px;
    display: flex;
    flex-direction: column;
    gap: 60px;
}

/* ======================================================
   AE ROLE HEADER
====================================================== */
.ae-role-header {
    font-size: 42px;
    font-weight: 700;
    text-align: center;
    margin: 20px auto;
}

/* ======================================================
   AE ROLE CARD (Blog-Style adaptiert)
====================================================== */
.ae-role-card {
    background: #fff;
    border-radius: 26px;
    border: 1px solid var(--border-soft);
    padding: 48px 36px;
    box-shadow: 0 6px 18px rgba(255,0,204,0.14);

    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 60px;

    transition: transform .25s ease, box-shadow .25s ease;
}

.ae-role-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 25px rgba(255,0,204,0.22);
}

/* ======================================================
   TEXT
====================================================== */
.ae-role-text {
    flex: 1.3;
}

.ae-name {
    font-size: 30px;
    font-weight: 700;
    margin-bottom: 6px;
}

.ae-role {
    font-size: 24px;
    color: var(--text-soft);
    margin-bottom: 26px;
}

.ae-tasks-title {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 10px;
}

.ae-tasks {
    list-style: disc;
    padding-left: 20px;
    font-size: 18px;
    line-height: 1.55;
text-align: left;
}

/* ======================================================
   VIDEO
====================================================== */
.ae-role-video {
    max-width: 520px;
    position: relative;
    border-radius: 22px;
    overflow: hidden;
    cursor: pointer;
}

.ae-role-video video {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 22px;
}

.video-play-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80px;
    height: 80px;
    background: rgba(255,0,204,0.25);
    border: 3px solid rgba(255,0,204,0.45);
    border-radius: 50%;
    backdrop-filter: blur(6px);
    cursor: pointer;

    display: flex;
    align-items: center;
    justify-content: center;

    transition: 0.25s ease;
}

.video-play-btn:hover {
    transform: translate(-50%, -50%) scale(1.1);
}

.video-play-btn:before {
    content: "";
    border-left: 18px solid white;
    border-top: 12px solid transparent;
    border-bottom: 12px solid transparent;
    margin-left: 5px;
}

.video-play-btn.hide {
    opacity: 0;
    pointer-events: none;
}

/* ======================================================
   MOBILE
====================================================== */
@media (max-width: 900px) {

    .content-inner {
        padding: 0 20px;
    }

    .ae-role-header {
        font-size: 32px;
    }

    .ae-role-card {
        flex-direction: column;
        text-align: center;
        padding: 36px 22px;
    }

    .ae-role-video {
        max-width: 320px;
    }
}

/* ======================================================
   FOOTER (ident zu Blog)
====================================================== */
.footer {
    width: 100%;
    padding: 40px 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 40px;
    font-size: 15px;
    margin-top: 80px;
}

.footer-left {
    display: flex;
    gap: 25px;
}

.footer-left a {
    text-decoration: none;
    color: var(--text-main);
}

.footer-left a:hover {
    color: var(--accent);
}

.footer-copyright {
    font-size: 14px;
    color: var(--text-soft);
}

@media (max-width: 900px) {
    .footer {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
}
