/* =========================
   HERO WRAPPER (FULL WIDTH)
========================= */

.hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* =========================
   HERO GRID LAYOUT
========================= */

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 60px;
    width: 100%;
}

/* TEXT LINKS */
.header_text {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

/* TYPO */
.brand-tag {
    font-size: 30px;
}

.headline-brand {
    color: var(--main-brand-color);
    font-size: clamp(3rem, 6vw, 6rem);
}



/* =========================
   HERO IMAGE
========================= */

.circle {
    width: 500px;
    height: 500px;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid var(--light-secondary-color);
    justify-self: end;
}

/* Bild im Kreis */
.circle img {
    width: 140%;
    height: 100%;
    object-fit: cover;
    margin-left: -15%;
}

/* =========================
   NAV — fixiert, Logo, Links
========================= */

nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: var(--primary-color);
    z-index: 1000;
}

nav .container {
    width: 100%;
    padding: 20px var(--padding-x);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Logo — passende Größe */
nav .logo img {
    height: 40px;
    /* ← Logo auf feste Höhe begrenzen */
    width: auto;
    display: block;
}

/* Desktop-Menü */
.desktop-menu {
    display: flex;
    gap: 20px;
    list-style: none;
}

.desktop-menu a {
    color: var(--secondary-color);
    text-decoration: none;
    transition: color 0.2s;
}

.desktop-menu a:hover {
    color: var(--secondary-text-color);
}


/* =========================
   MOBILE MENÜ
========================= */

/* Hamburger-Button */
.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    background: none;
    border: none;
    padding: 4px;
}

.menu-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--secondary-color);
    transition: all 0.3s;
}

/* Hamburger → X wenn offen */
.menu-toggle.open span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.menu-toggle.open span:nth-child(2) {
    opacity: 0;
}

.menu-toggle.open span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* Mobile Menü fullscreen smooth */
.mobile-menu {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    /* ← fullscreen */
    background: var(--primary-color);
    z-index: 998;
    opacity: 0;
    /* ← GSAP animiert opacity */

    /* Layout */
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0;
}

.mobile-menu.open {
    display: flex;
    /* sichtbar schalten, GSAP übernimmt opacity */
}

.mobile-menu li {
    list-style: none;
    width: 100%;
    text-align: center;
}

.mobile-menu a {
    display: block;
    padding: 18px 0;
    color: var(--secondary-color);
    text-decoration: none;
    font-size: clamp(22px, 5vw, 32px);
    /* ← groß im Fullscreen */
    transition: color 0.2s;
}

.mobile-menu a:hover {
    color: var(--secondary-text-color);
}

/* =========================
   RESPONSIVE
========================= */

@media (max-width: 900px) {

    .desktop-menu {
        display: none;
        /* Desktop-Menü verstecken */
    }

    .menu-toggle {
        display: flex;
        /* Hamburger zeigen */
    }

    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .circle {
        justify-self: center;
        width: 300px;
        height: 300px;
    }

    .header_text {
        align-items: center;
    }

    .hero {
        padding-top: 50px;
    }
}