/* === BANNER GRUNDLAYOUT === */
.banner {
    height: 100vh;
    width: 100%;
    background: linear-gradient(rgba(0, 0, 0, 0.55), rgba(0, 0, 0, 0.55)),
                url('../../static/banner5.png') no-repeat center center fixed;
    background-size: cover;
    background-attachment: fixed;
    color: white;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0 5vw;
    position: relative;
    overflow: hidden;
    box-sizing: border-box;
    text-align: left;


}

/* === Background Animation Layer === */
.banner::before {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: radial-gradient(circle at center, rgba(0, 150, 255, 0.035), transparent 80%);
    animation: float 20s infinite linear;
    z-index: 1;
}

@keyframes float {
    0% { transform: translate(0, 0); }
    50% { transform: translate(-10px, -10px); }
    100% { transform: translate(0, 0); }
}

.banner * {
    position: relative;
    z-index: 2;
}

/* === DESKTOP LAYOUT === */
.desktop-layout {
    max-width: 1400px;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 2rem;
    animation: slideIn 1.5s ease-out;
}

@keyframes slideIn {
    0% {
        opacity: 0;
        transform: translateY(30px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.left-content {
    flex: 1 1 55%;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.right-content {
    flex: 1 1 35%;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* === LOGO === */
.banner-logo {
    width: 500px;
    margin-top: 2rem;
    margin-bottom: 1.5rem;
}

.banner-logo-container {
    display: flex;
    justify-content: left;
    margin-left: -20px;
}

/* === TEXT === */
/* Typing-Effekt Text */
.banner-text {
    font-size: 1.3rem;
    font-weight: 300;
    line-height: 1.6;
    max-width: 600px;
    color: #ffffff;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.2);
    transition: all 0.5s ease-in-out;

    /* NEU für mehrzeilige Typing-Texte */
    display: inline-block;
    animation: blinkCursor 0.8s infinite;
    word-break: break-word;
    white-space: normal;
    overflow-wrap: break-word;
    min-height: 4.5rem; /* verhindert Layout-Springen */
}

@keyframes blinkCursor {
    0%, 100% { border-color: transparent; }
    50% { border-color: #00ffc2; }
}


/* === BUTTON === */
.contact-button {
    margin-top: 2rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    color: #e0e0e0;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 500;
    font-size: 1rem;
    transition: background 0.3s ease, transform 0.3s ease;
    max-width: 80px;

    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}


.contact-button:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: scale(1.05);
    color: #fff;
}

/* === BILD === */
.profile-image {
    max-width: 100%;
    max-height: 600px;
    border-radius: 20px;
    object-fit: cover;

    /* Nur linker Rand */
    border-left: solid 3px #00ffc2;

    /* Dezent leuchtender Glow nur links */
    box-shadow: -10px 0 20px rgba(0, 255, 194, 0.2);

    transition: transform 0.3s ease, box-shadow 0.3s ease;
    animation: glowLeftBorder 8s infinite ease-in-out;
}

.profile-image:hover {
    transform: scale(1.02);
    box-shadow: -10px 0 30px rgba(0, 255, 194, 0.3);
}

@keyframes glowLeftBorder {
    0%, 100% {
        box-shadow: -10px 0 15px rgba(0, 255, 194, 0.2);
    }
    50% {
        box-shadow: -10px 0 30px rgba(0, 255, 194, 0.35);
    }
}

/* === SPRACHE-BUTTON === */
.banner button {
    background-color: transparent;
    color: #e0e0e0;
    border: 1px solid rgba(255, 255, 255, 0.3);
    padding: 10px 15px;
    font-size: 1rem;
    cursor: pointer;
    position: absolute;
    top: 20px;
    right: 20px;
    z-index: 3;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.banner button:hover {
    background-color: rgba(255, 255, 255, 0.1);
    color: #fff;
}

/* === SCROLL INDICATOR === */
.scroll-indicator {
    font-size: 2rem;
    color: #e0e0e0;
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    animation: bounce 3s infinite;
    cursor: pointer;
    z-index: 2;
}

.scroll-indicator:hover {
    color: #00ffc2;
    text-shadow: 0 0 10px #00ffc2;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    40% {
        transform: translateX(-50%) translateY(-10px);
    }
    60% {
        transform: translateX(-50%) translateY(-5px);
    }
}

/* === MOBILE LAYOUT === */
.mobile-stack {
    display: none;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 1.5rem;
    padding: 2rem 1rem;
}

@media (max-width: 1000px) {
    .desktop-layout {
        display: none;
    }

    .mobile-stack {
        display: flex;
    }

    .banner-logo {
        width: 300px;
        margin-top: -100px;
        margin-left: 0;
    }

    .banner-text {
        max-width: 600px;
        padding: 0 1rem;
    }

    .profile-image {
        width: 90%;
        max-width: 400px;
        height: auto;
    }

    .contact-button {
        margin-top: 1rem;
    }

    .scroll-indicator {
        bottom: 10px;
        left: 50%;
        transform: translateX(-50%);
        position: absolute;
        z-index: 2;
    }
}
